PHP version
Closed this issue · 1 comments
martijndwars commented
I suggest updating composer.json to require PHP >= 5.4. PHP 5.3 does not support the array shorthand used in Doctrine2BridgeServiceProvider.php
. Also, PHP 5.3 does not support $this
in anonymous function (occurs in the same file). The first will result in a parse error, the second in a fatal error.
(The complaint by Krzysztof Pultorak at http://www.barryodonovan.com/index.php/2014/01/20/doctrine2-service-provider-for-laravel-4 is probably caused by a PHP version conflict.)