From 337a285ed69941b2f35b2480cf3646153bc4bb70 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Nov 2024 07:43:52 +0100 Subject: update to 1.20.0 --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'composer.json') 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" }, -- cgit