3 "description": "Example composer.json for a project utilizing composer-test-scenarios.",
8 "email": "author@example.com"
13 "Org\\Example\\": "src"
18 "Org\\TestUtils\\": "tests/src"
25 "g1a/composer-test-scenarios": "^1",
26 "phpunit/phpunit": "^4.8|^5.5.4",
27 "satooshi/php-coveralls": "^2",
28 "squizlabs/php_codesniffer": "^2.7"
31 "optimize-autoloader": true,
32 "sort-packages": true,
38 "cs": "phpcs --standard=PSR2 -n src",
39 "cbf": "phpcbf --standard=PSR2 -n src",
40 "unit": "phpunit --colors=always",
42 "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
43 "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
50 "scenario": "scenarios/install",
52 "create-scenario symfony2 'symfony/console:^2.8' --platform-php '5.4' --no-lockfile",
53 "create-scenario symfony3 'symfony/console:^3.0' --platform-php '5.6'",
54 "create-scenario symfony4 'symfony/console:^4.0'",
60 "dev-master": "1.x-dev"