Skip to content

Instantly share code, notes, and snippets.

@till
Created May 22, 2015 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save till/7d7468dc653faaf21348 to your computer and use it in GitHub Desktop.
Save till/7d7468dc653faaf21348 to your computer and use it in GitHub Desktop.
Here's a nice little PHP QA snippet to ensure quality in your PHP applications with Travis-CI.
language: php
script: bash php-qa.sh
test $(fgrep -r 'SuppressWarnings(PHPMD.' src/*|grep -v UnusedFormalParameter|wc -l) -eq 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment