Commit 32f6aa00 authored by Jon Pugh's avatar Jon Pugh

Change Property::default() to Property::defaultValue() so it still works in php5.

parent 1d569dca
...@@ -52,7 +52,7 @@ class PlatformContext extends ContextSubscriber implements ConfigurationInterfac ...@@ -52,7 +52,7 @@ class PlatformContext extends ContextSubscriber implements ConfigurationInterfac
'root' => 'root' =>
Provision::newProperty() Provision::newProperty()
->description('platform: path to the Drupal installation. You may use a relative or absolute path.') ->description('platform: path to the Drupal installation. You may use a relative or absolute path.')
->default(getcwd()) ->defaultValue(getcwd())
->required(TRUE) ->required(TRUE)
->validate(function($path) { ->validate(function($path) {
if (strpos($path, '/') !== 0) { if (strpos($path, '/') !== 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment