GS/BS
← Standards directory
Formatting

PHPCS.

Enforce a PHP coding standard

Select a coding standard such as PSR-12 in the repository ruleset. Check source paths and report the sniff responsible for every violation.

PHP

Use this standard

Run the check with the tool installed and configured for your project.

vendor/bin/phpcs

Agent prompt

Use PHPCS in this repository to meet this standard: Enforce a PHP coding standard. Select a coding standard such as PSR-12 in the repository ruleset. Check source paths and report the sniff responsible for every violation. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

runnable · 4 of 5 evidence checks passed.

  • Pass · Defined scope — Enforce a PHP coding standard · PHP
  • Pass · Upstream reference — https://github.com/PHPCSStandards/PHP_CodeSniffer
  • Pass · Agent prompt — Use PHPCS in this repository to meet this standard: Enforce a PHP coding standard. Select a coding standard such as PSR-12 in the repository ruleset. Check source paths and report the sniff responsible for every violation. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Pass · Tool command — vendor/bin/phpcs
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

PHPCS documentation ↗