Skip to content

Commit

Permalink
symplify/rule-doc-generator doesnt like cs-fixer a lot of times. Adju…
Browse files Browse the repository at this point in the history
…sting command to temporarily add docs generator when generating the docs. (#306)
  • Loading branch information
bbrala authored Jun 10, 2024
1 parent 98e0298 commit 75d4a77
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 75d4a77

Please sign in to comment.