Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Commands
phpcs --config-set default_standard PSR12
phpcs --config-set show_progress 1
phpcs --config-set colors 1
phpcs --report=gitblame /path/to/code
phpcs -s --report=gitblame /path/to/code
# Handy rulesets
<?xml version="1.0"?>
<ruleset name="Testing Suites rulesets">
<description>Ignore required CamelCaps</description>
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment