cspray / labrador-coding-standard
A PHP_CodeSniffer ruleset for the coding style in all Labrador packages
Installs: 588
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
Requires
This package is auto-updated.
Last update: 2024-11-11 15:52:50 UTC
README
A ruleset for PHP_CodeSniffer that defines the coding standard incorporated by Labrador packages.
Installion
There is only 1 supported method for installing Labrador packages; Composer
compose require-dev cspray/labrador-coding-standard
Please note that we are installing this as a dev dependency; it is not recommended to use this library in a production environment.
Usage
After installing simply run either of the 2 provided binary commands: labrador-cs
and labrador-cbf
respectively.
vendor/bin/labrador-cs src/ test/
vendor/bin/labrador-cbf src/ test/