summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-21 07:43:52 +0100
committerRemi Collet <remi@php.net>2024-11-21 07:43:52 +0100
commit337a285ed69941b2f35b2480cf3646153bc4bb70 (patch)
treed188ed2fba087b269430bba8cf7c4bb11645580b /composer.json
parent49414d123b0cb3f6cba3982ee6f3faac7c2651f6 (diff)
update to 1.20.0HEADmaster
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 2a86c2d..d520edb 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,7 @@
],
"require": {
- "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
+ "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.*",
"phpdocumentor/reflection-docblock": "^5.2",
"sebastian/comparator": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"doctrine/instantiator": "^1.2 || ^2.0",
@@ -26,6 +26,7 @@
},
"require-dev": {
+ "friendsofphp/php-cs-fixer": "^3.40",
"phpspec/phpspec": "^6.0 || ^7.0",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0"
@@ -45,11 +46,15 @@
},
"scripts": {
+ "cs:check": "@php php-cs-fixer check --verbose --diff",
+ "cs:fix": "@php php-cs-fixer fix",
"phpstan": "phpstan analyse",
"phpstan:baseline": "phpstan analyse --generate-baseline"
},
"scripts-descriptions": {
+ "cs:check": "Check coding standards",
+ "cs:fix": "Fix coding standards",
"phpstan": "Run PHPStan analysis",
"phpstan:baseline": "Dump PHPStan baseline file - use only for updating, do not add new errors when possible"
},