Skip to content

Instantly share code, notes, and snippets.

@alister
Created November 22, 2011 15:28
Show Gist options
  • Save alister/1385936 to your computer and use it in GitHub Desktop.
Save alister/1385936 to your computer and use it in GitHub Desktop.
#!/bin/sh
# we have to give the full path to the file called Example/ExampleCodingStandard.php
# $(pwd)/ is just Bash-ish for outputting the current directory name
phpcs --standard=$(pwd)/Example /path/to/file/to/check/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment