coding-standards
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
This repository contains the PHP_CodeSniffer configuration for PHP
coding standards used for projects we build. The file is an extension on the PSR-2 defaults. And can be used by any PHP
project., (*2)
Install
Via Composer, (*3)
``` bash
$ composer require polderknowledge/coding-standards, (*4)
## Usage
Set the standard attribute in your build script to:
```xml
<phpcodesniffer standard="${project.basedir}/vendor/polderknowledge/coding-standards/PolderKnowledge/ruleset.xml">
<!-- rest of your phpcodesniffer target -->
</phpcodesniffer>
Change log
Please see CHANGELOG for more information what has changed recently., (*5)
Testing
bash
$ vendor/bin/phpunit
, (*6)
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*7)
Security
If you discover any security related issues, please report them via HackerOne
instead of using the issue tracker or e-mail., (*8)
We have an IRC channel where you can find us every now and then. We're on the Freenode network in the
channel #polderknowledge., (*9)
Credits
License
Please see LICENSE.md for the license of this application., (*10)