supportpal / coding-standard
SupportPal PHP coding standard.
Installs: 19 040
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- slevomat/coding-standard: ^8.0
README
SupportPal PHPCS coding standard.
Installation
composer require supportpal/coding-standard --dev
Usage
Default ruleset
phpcs standard=vendor/supportpal/coding-standard .
Custom ruleset
Create a phpcs.xml
file:
<?xml version="1.0"?> <ruleset name="CustomSupportPal"> <description>Custom PHPCS config based on the SupportPal coding standard.</description> <rule ref="vendor/supportpal/coding-standard" /> </ruleset>