phpcs (PHP_CodeSniffer)
- Category: standards (PHP)
- Fingerprint: rule-file-surrounding-3-lines-v1
- License: BSD-3-Clause
Code-standards checker. Vetrix ships Magento2, Drupal, Symfony, PSR12, and WordPress rulesets out of the box — the auto-detector picks the right ruleset per framework marker.
standards:
phpcs:
enabled: true
rulesets: [Magento2, PSR12]
When to enable
Any PHP project. Ruleset choice follows the framework — Magento2 on
a Magento repo, Drupal on a Drupal repo. The detector handles this
when the wizard runs.