add composer config section

This commit is contained in:
Ilian Ranguelov 2020-04-03 20:35:14 +02:00
parent 7cef85e751
commit 049de92c15
No known key found for this signature in database
GPG Key ID: A5A3FC7EA12C7942

View File

@ -9,17 +9,21 @@
"email": "github@muglug.com"
}
],
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"php": "^7.1.3",
"ext-simplexml": "*",
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"vimeo/psalm": "^3.6.2 || dev-master",
"composer/semver": "^1.4",
"ocramius/package-versions": "^1.3"
"ocramius/package-versions": "^1.3",
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"vimeo/psalm": "^3.6.2 || dev-master"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.3.1",
"codeception/base": "^2.5",
"squizlabs/php_codesniffer": "^3.3.1",
"weirdan/codeception-psalm-module": "^0.4.0"
},
"extra": {
@ -37,7 +41,7 @@
"Psalm\\PhpUnitPlugin\\Tests\\": "tests"
}
},
"scripts" : {
"scripts": {
"check": [
"@cs-check",
"@analyze",