summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-03 06:44:40 +0200
committerRemi Collet <remi@remirepo.net>2018-04-03 06:44:40 +0200
commitb370bc529bde643b06f344d39eee94c1c4ab9556 (patch)
tree06e656b3d900d3550105d94cd390add8deb778e9 /composer.json
parentf7ff2d62d94b8a9b962af867c9e63101f72b7d9c (diff)
update to 3.2.0 from Fedora
* Fri Mar 30 2018 Shawn Iwinski <shawn@iwin.ski> - 3.2.0-1 - Update to 3.2.0 (RHBZ #1505200) * Fri Mar 30 2018 Shawn Iwinski <shawn@iwin.ski> - 3.1.13-2 - Update range dependencies' conditional to include RHEL8+
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json40
1 files changed, 32 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index adaba21..604b44c 100644
--- a/composer.json
+++ b/composer.json
@@ -24,25 +24,49 @@
"symfony/finder": "^2.5|^3|^4"
},
"require-dev": {
- "phpunit/phpunit": "^4.8",
- "satooshi/php-coveralls": "^1.0.2 | dev-master",
+ "g-1-a/composer-test-scenarios": "^2",
+ "satooshi/php-coveralls": "^2",
+ "phpunit/phpunit": "^5.7.27",
"squizlabs/php_codesniffer": "^2.7",
+ "symfony/console": "3.2.3",
+ "symfony/var-dumper": "^2.8|^3|^4",
"victorjonsson/markdowndocs": "^1.3"
},
+ "suggest": {
+ "symfony/var-dumper": "For using the var_dump formatter"
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "sort-packages": true,
+ "platform": {
+ "php": "5.6.32"
+ }
+ },
"scripts": {
"api": "phpdoc-md generate src > docs/api.md",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
- "test": "phpunit --colors=always"
+ "unit": "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"
+ ],
+ "scenario": "scenarios/install",
+ "post-update-cmd": [
+ "create-scenario symfony4 'symfony/console:^4.0' 'phpunit/phpunit:^6' --platform-php '7.1.3'",
+ "create-scenario symfony3 'symfony/console:^3.4' 'symfony/finder:^3.4' 'symfony/var-dumper:^3.4' --platform-php '5.6.32'",
+ "create-scenario symfony2 'symfony/console:^2.8' 'phpunit/phpunit:^4.8.36' --remove 'satooshi/php-coveralls' --platform-php '5.4' --no-lockfile",
+ "dependency-licenses"
+ ]
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
- },
- "config": {
- "platform": {
- "php": "5.6"
- }
}
}