standards

Runs Fast Forward code standards checks.

Description

The standards command runs the full quality pipeline:

  1. refactor - Rector code refactoring
  2. phpdoc - PHPDoc checks and fixes
  3. code-style - Code style checking
  4. reports - 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:

  • --progress to re-enable progress output from the nested phases in text mode;
  • --json to emit a structured machine-readable payload instead of the normal terminal output;
  • --pretty-json to 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-tools without args.
  • Each phase runs in sequence; if any phase fails, the command returns failure.
  • The --fix option is passed to all phases that support it.
  • Progress output is disabled by default across nested phases; use --progress to re-enable it in text mode.
  • --json and --pretty-json are forwarded through every phase so the pipeline stays machine-readable end to end.