diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index aea0861..e620d88 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -62,7 +62,7 @@ Contributing needs **PHP 8.5+** — the development dependencies require it. Usi | `composer check:missing-rules` | Report rules that are in neither file | | `composer phpcs` / `composer phpcs:fix` | Code style only | | `composer rector` / `composer rector:fix` | Rector on this repository's own sources | -| `composer build` | Runs `composer check fix`, `composer check`, then `composer ai-olympus:install` | +| `composer build` | Runs `composer fix` (rewrites files), `composer check`, then `composer ai-olympus:install` | | `composer ai-olympus:install` | Reinstall [pekral/ai-olympus](https://github.com/pekral/ai-olympus) agent rules and skills | `composer fix`, `composer phpcs:fix`, and `composer rector:fix` rewrite files in `rules/`, `build/`, and diff --git a/composer.json b/composer.json index 19a56dd..6b9c57d 100644 --- a/composer.json +++ b/composer.json @@ -56,7 +56,7 @@ } }, "scripts": { - "build": "composer check fix && composer check && composer ai-olympus:install", + "build": "composer fix && composer check && composer ai-olympus:install", "phpcs:fix": "vendor/bin/phpcbf --standard=vendor/pekral/phpcs-rules/ruleset.xml --standard=vendor/pekral/phpcs-rules rules/ build/ rector.php || true", "phpcs": "vendor/bin/phpcs --standard=vendor/pekral/phpcs-rules rules/ build/ rector.php -sp", "check": "composer phpcs && composer rector && composer check:missing-rules",