Skip to content
Demo code for the "Don't work for PHPCS, make PHPCS work for you" talk
XSLT HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs
travis-examples Travis: improve the scripts & documentation Jan 24, 2018
xsl-template
.gitignore
LICENSE
README.md
phpcs1.xml
phpcs2.xml
phpcs3.xml
phpcs4.xml
phpcs5.xml
phpcs6.xml
phpcs7.xml
phpcs8.xml
phpcs9.xml

README.md

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:

You can’t perform that action at this time.