# Don't work for PHPCS, make PHPCS work for you

Demo code used in my "Don't work for PHPCS, make PHPCS work for you" talk.

In this repo you'll find:
* Example code for a Travis setup to automatically run PHP Codesniffer against your repository.
* Information on how to set up logging.
* An XSL template for viewing a PHPCS log file in a web browser.
* A number of examples of what you can do with a custom ruleset as shown during the talk.

Recommended reading:
* [PHPCS wiki](https://github.com/squizlabs/PHP_CodeSniffer/wiki/)
* [PHPCS customizable properties list](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties)

# Don't work for PHPCS, make PHPCS work for you

Demo code used in my "Don't work for PHPCS, make PHPCS work for you" talk.

The slides from the talk are available on [speakerdeck](https://speakerdeck.com/jrf/dont-work-for-phpcs-make-phpcs-work-for-you).

In this repo you'll find:
* Example code for a Travis setup to automatically run PHP Codesniffer against your repository.
* Information on how to set up logging.
* An XSL template for viewing a PHPCS log file in a web browser.
* A number of examples of what you can do with a custom ruleset as shown during the talk.

Recommended reading:
* [PHPCS wiki](https://github.com/squizlabs/PHP_CodeSniffer/wiki/)
* [PHPCS customizable properties list](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties)

Add link to the slides to the readme file.
Add link to the slides to the readme file.
