+ "scripts": {
+ "cs": "phpcs --standard=PSR2 -n src",
+ "cbf": "phpcbf --standard=PSR2 -n src",
+ "unit": "phpunit --colors=always",
+ "lint": [
+ "find src -name '*.php' -print0 | xargs -0 -n1 php -l"
+ ],
+ "test": [
+ "@lint",
+ "@unit"
+ ],
+ "scenario": ".scenarios.lock/install",
+ "post-update-cmd": [
+ "create-scenario phpunit4 'phpunit/phpunit:^4.8.36' --platform-php '5.5.27'"
+ ]
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "sort-packages": true,
+ "platform": {
+ "php": "7.0.8"
+ }
+ },