supportpal / coding-standard
SupportPal PHP coding standard.
Package info
github.com/supportpal/coding-standard
Type:phpcodesniffer-standard
pkg:composer/supportpal/coding-standard
v0.4.5
2025-05-29 14:40 UTC
Requires
- slevomat/coding-standard: ^8.0
- squizlabs/php_codesniffer: ^3.12.1
Requires (Dev)
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>