summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-21 07:19:43 +0200
committerRemi Collet <remi@remirepo.net>2021-06-21 07:19:43 +0200
commit8d40fb6bb6895b9b188e21a5615ebadff5f3a726 (patch)
tree57fbc9e64071600c3e3cbb1751ad495cda2b8e5f /composer.json
parent316b31c0771fcae9ecb866227197f1ebee9c655b (diff)
update to 1.0.0
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json17
1 files changed, 10 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index ece8171..5cf9d22 100644
--- a/composer.json
+++ b/composer.json
@@ -23,11 +23,11 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
- "php": ">=5.5",
+ "php": ">=5.4",
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"require-dev": {
- "php-parallel-lint/php-parallel-lint": "^1.2.0",
+ "php-parallel-lint/php-parallel-lint": "^1.3.0",
"php-parallel-lint/php-console-highlighter": "^0.5",
"yoast/yoastcs": "^2.1.0"
},
@@ -46,14 +46,17 @@
}
},
"scripts": {
- "lint": [
- "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
+ "lint7": [
+ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude src/Exceptions/Error.php --exclude src/Exceptions/TypeError.php --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php"
+ ],
+ "lint-lt70": [
+ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude src/TestCases/TestCasePHPUnitGte8.php --exclude src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7.php --exclude tests/Polyfills/Fixtures/ChildValueObject.php --exclude tests/Polyfills/Fixtures/ValueObject.php --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php"
],
- "lint-lt71": [
- "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude src/TestCases/TestCasePHPUnitGte8.php --exclude src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7.php"
+ "lint-gte80": [
+ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"check-cs": [
- "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
+ "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.4-"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"