woohoolabs / coding-standard
Woohoo Labs. PHP Coding Standard
Installs: 5 415
Dependents: 9
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Language:Makefile
Type:phpcodesniffer-standard
Requires
- php: ^7.4.0||^8.0.0
- phpcsstandards/phpcsutils: ^1.0.8
- slevomat/coding-standard: ^8.13.0
- squizlabs/php_codesniffer: ^3.7.0
Requires (Dev)
- woohoolabs/releaser: ^1.1.0
README
Woohoo Labs. PHP Coding Standard based on PSR-12, Doctrine, and Slevomat Coding Standards
Table of Contents
Introduction
This library provides the Woohoo Labs. Coding Standard rules for PHP CodeSniffer. It is inspired by and built upon the Doctrine Coding Standard and the Slevomat Coding Standard.
Install
The only thing you need before getting started is Composer.
Install PHP Coding Standard:
To install the latest version of this library, run the command below:
$ composer require woohoolabs/coding-standard
The latest version of PHP Coding Standard requires PHP 7.4 at least.
Usage
Just add the default phpcs.xml
file (it can be found in the root directory) to your project and you are ready to use
the Woohoo Labs. Coding Standard when running phpcs
.
Versioning
This library follows SemVer v2.0.0.
Change Log
Please see CHANGELOG for more information on recent changes.
Contributing
Please see CONTRIBUTING for details.
Support
Please see SUPPORT for details.
Credits
License
The MIT License (MIT). Please see the License File for more information.