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
'root' =>
Provision::newProperty()
->description('platform: path to the Drupal installation. You may use a relative or absolute path.')
->default(getcwd())
->defaultValue(getcwd())
->required(TRUE)
->validate(function($path) {
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