| What it is | Checks the syntax of PHP files in parallel | Lint PHP files faster by running several lint processes at once | Linting suite that checks every language, format and config file in a repository | PHP_CodeSniffer sniffs that check PHP code for cross-version compatibility |
| Features | - checks PHP files' syntax in parallel jobs (10 by default)
- plain, coloured, JSON, Checkstyle XML and GitLab Code Quality output
- git blame for the line with an error
- exclude files or folders, or read the file list from standard input
- PHAR file on each release, or install with Composer
| - parallel PHP syntax linting
- YAML configuration
- PHAR, Phive, Composer and Docker installs
- CI and programmatic use
| - linters for many languages, formats and tooling files in one run
- GitHub Action, other CI systems, Docker or local runner
- apply fixes to the branch or in reports
- pull request comments on GitHub, GitLab, Azure DevOps and Bitbucket
- SARIF output
- flavors and custom flavors with only the linters you need
- agent skills for coding agents
- LLM advisor for fixing linter errors
- All 9 features
| - sniffs that flag PHP features unavailable or changed in a chosen PHP version or range
- testVersion set per run or in a custom ruleset
- consistent results whichever PHP version runs PHP_CodeSniffer
- framework, CMS and polyfill specific rulesets that extend it
|