standards
Runs Fast Forward code standards checks.
Description
The standards
command runs the full quality pipeline:
refactor- Rector code refactoringphpdoc- PHPDoc checks and fixescode-style- Code style checkingreports- Documentation and test reports
Usage
composer standards
composer standards --fix
composer dev-tools standards -- [options]
vendor/bin/dev-tools standards [options]
Alternatively, you can run the unified fixing variant:
composer dev-tools
composer dev-tools:fix
Options
This command supports:
--cache-dirto provide a base cache directory for nested cache-aware phases;--cacheto force cache-aware nested phases to keep caching enabled;--no-cacheto force cache-aware nested phases to disable caching;--progressto re-enable progress output from the nested phases in text mode;--jsonto emit a structured machine-readable payload instead of the normal terminal output;--pretty-jsonto emit the same structured payload with indentation for terminal inspection.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success. All checks passed. |
| 1 | Failure. One or more checks failed. |
Behavior
- This is the default command when running
composer dev-toolswithout args. - Each phase runs in sequence; if any phase fails, the command returns failure.
- The
--fixoption is passed to all phases that support it. - Cache stays enabled by default for nested cache-aware phases; omit both flags
to keep the command default, pass
--cacheto force it on, and pass--no-cacheto force it off. - The explicit cache intent is propagated to the nested
phpdocandreportsphases.refactorandcode-styledo not consume this contract. - When
--cache-diris provided,phpdocandreportsreceive nested cache directories under that base path. When it is omitted, each nested tool keeps its own default cache directory. - Progress output is disabled by default across nested phases; use
--progressto re-enable it in text mode. --jsonand--pretty-jsonare forwarded through every phase so the pipeline stays machine-readable end to end.