Created
March 31, 2018 08:46
-
-
Save lmillucci/74c333e6e7e12081f1ff09be105e5e3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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