summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-12 16:10:09 +0200
committerRemi Collet <remi@remirepo.net>2019-06-12 16:10:09 +0200
commit5e6de982d411bca6cf99ed92e2859dd12db5dfc5 (patch)
treec38322d95462d82b351a3cb9f49232d845e2006c /composer.json
parent5657b596c64d3957cb3cd9fdb4e894328e42d659 (diff)
v2.12.0 from Fedora
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json72
1 files changed, 64 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index f4dc5c0..27e7f7e 100644
--- a/composer.json
+++ b/composer.json
@@ -19,29 +19,85 @@
}
},
"require": {
- "php": ">=5.4.0",
- "consolidation/output-formatters": "^3.1.10",
+ "php": ">=5.4.5",
+ "consolidation/output-formatters": "^3.4",
"psr/log": "^1",
- "symfony/console": "^2.8|~3",
- "symfony/event-dispatcher": "^2.5|^3",
- "symfony/finder": "^2.5|^3",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0"
+ "symfony/console": "^2.8|^3|^4",
+ "symfony/event-dispatcher": "^2.5|^3|^4",
+ "symfony/finder": "^2.5|^3|^4"
},
"require-dev": {
- "phpunit/phpunit": "^4.8",
- "satooshi/php-coveralls": "^1.0",
+ "phpunit/phpunit": "^6",
+ "php-coveralls/php-coveralls": "^1",
+ "g1a/composer-test-scenarios": "^3",
"squizlabs/php_codesniffer": "^2.7"
},
+ "config": {
+ "optimize-autoloader": true,
+ "sort-packages": true,
+ "platform": {
+ "php": "7.0.8"
+ }
+ },
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "SHELL_INTERACTIVE=true phpunit --colors=always",
+ "lint": [
+ "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
+ "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
+ ],
"test": [
+ "@lint",
"@unit",
"@cs"
]
},
"extra": {
+ "scenarios": {
+ "symfony4": {
+ "require": {
+ "symfony/console": "^4.0"
+ },
+ "config": {
+ "platform": {
+ "php": "7.1.3"
+ }
+ }
+ },
+ "symfony2": {
+ "require": {
+ "symfony/console": "^2.8"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.36"
+ },
+ "remove": [
+ "php-coveralls/php-coveralls"
+ ],
+ "config": {
+ "platform": {
+ "php": "5.4.8"
+ }
+ },
+ "scenario-options": {
+ "create-lockfile": "false"
+ }
+ },
+ "phpunit4": {
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.36"
+ },
+ "remove": [
+ "php-coveralls/php-coveralls"
+ ],
+ "config": {
+ "platform": {
+ "php": "5.4.8"
+ }
+ }
+ }
+ },
"branch-alias": {
"dev-master": "2.x-dev"
}