forkrefactor / coding-standard
PcComponentes Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.
Installs: 7
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/forkrefactor/coding-standard
Requires
- php: ^7.4 || ^8.0
- slevomat/coding-standard: ^7.0.18
- squizlabs/php_codesniffer: ^3.6.1
Requires (Dev)
- phpunit/phpunit: ^9.3
- symfony/var-dumper: ^6.0
This package is not auto-updated.
Last update: 2025-10-10 08:17:04 UTC
README
PcComponentes Coding Standard for PHP_CodeSniffer provides sniffs that fall into three categories.
Usage
Use composer to require the library:
composer require --dev pccomponentes/coding-standard
Create the phpcs.xml.dist
configuration file and use the standard:
<?xml version="1.0" ?> <ruleset name="Project rules"> <rule ref="vendor/pccomponentes/coding-standard/src/ruleset.xml" /> </ruleset>