/make-phpcs-work-for-you

Demo code for the "Don't work for PHPCS, make PHPCS work for you" talk

Primary LanguageXSLTMIT LicenseMIT

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:

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: