Skip to content

Instantly share code, notes, and snippets.

@lmillucci
Created March 31, 2018 08:46
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 lmillucci/74c333e6e7e12081f1ff09be105e5e3d to your computer and use it in GitHub Desktop.
Save lmillucci/74c333e6e7e12081f1ff09be105e5e3d to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<ruleset name="Blog">
<arg name="encoding" value="UTF-8" />
<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2"/>
<!-- Make it more strict with additional rules -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
<!-- Configure specific rules -->
<rule ref="PSR1.Methods.CamelCapsMethodName">
<!-- Underscores in tests method names are allowed for improved readability -->
<exclude-pattern>*Test.php</exclude-pattern>
</rule>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment