From e00f8920bfe1f4a5031cca5f550ca5e3fe03875c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Machulda?= Date: Fri, 27 Dec 2024 12:27:47 +0100 Subject: [PATCH] Deps: Temporarily restrict php-cs-fixer 3.65.0 until fix for nullable decalaration is released Php-cs-fixer 3.65.0 (included in ecs 12.4+) contains broken NullableTypeDeclarationFixer, which could lead to syntax error in code. See https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8330 This should be fixed in next php-cs-fixer release, then we can remove the version restriction. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d34da8d..19e3581 100644 --- a/composer.json +++ b/composer.json @@ -11,10 +11,10 @@ ], "require": { "php": "^8.0", - "friendsofphp/php-cs-fixer": "^3.47.1", + "friendsofphp/php-cs-fixer": "^3.47.1 !=3.65.0", "slevomat/coding-standard": "^8.6", "squizlabs/php_codesniffer": "^3.9", - "symplify/easy-coding-standard": "^12.2.0" + "symplify/easy-coding-standard": "^12.2.0 <12.4" }, "require-dev": { "ergebnis/composer-normalize": "^2.42.0",