The PHP_CodeSniffer ruleset for my projects
github.com/zgldh/phpcs-base-ruleset
Source
Issues
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT dd4d22651fec237712c499cabb92e1ffce02c56c
phpcodesniffer
This package is auto-updated.
Last update: 2024-10-29 05:28:35 UTC
A PHP CodeSniffer basic ruleset for my projects
composer require zgldh/phpcs-base-ruleset
cp vendor/zgldh/phpcs-base-ruleset/ruleset.template.xml ./ruleset.xml
vendor/bin/phpcs --standard=ruleset.xml
You can integrate PHP_CodeSniffer into Jenkins or other CI/CD tools.