diff --git a/composer.json b/composer.json index e436e109..232ed286 100644 --- a/composer.json +++ b/composer.json @@ -76,17 +76,16 @@ "require-dev": { "php": "^8.2", "cweagans/composer-patches": "^1.7.2", - "friendsofphp/php-cs-fixer": "^3.0", + "friendsofphp/php-cs-fixer": "^3.58", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpunit/phpunit": "^10.0", - "symfony/yaml": "^5 || ^6", - "symplify/rule-doc-generator": "dev-main", + "symfony/yaml": "^5 || ^6 || ^7", "symplify/vendor-patches": "^11.0" }, "scripts": { - "docs": "vendor/bin/rule-doc-generator generate src/ --categorize=3", + "docs": "composer remove friendsofphp/php-cs-fixer --dev && composer require symplify/rule-doc-generator --dev && vendor/bin/rule-doc-generator generate src/ --categorize=3 && composer remove symplify/rule-doc-generator --dev && composer require friendsofphp/php-cs-fixer --dev", "test": "vendor/bin/phpunit", "phpstan": "vendor/bin/phpstan analyse --memory-limit=2G", "check-style": "vendor/bin/php-cs-fixer check",