Created
October 18, 2017 22:19
-
-
Save javilumbrales/02b536bfef5fa3a60433443f1323d62e to your computer and use it in GitHub Desktop.
This file contains hidden or 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="PSR2Mage"> | |
| <description>PSR2 with exclude rules for Magento 1 code</description> | |
| <!-- Include the whole PSR-2 standard --> | |
| <rule ref="PSR2"> | |
| <exclude name="Squiz.Classes.ValidClassName"/> | |
| <exclude name="Generic.Files.LineLength.TooLong"/> | |
| <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/> | |
| <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> | |
| <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/> | |
| </rule> | |
| <rule ref="PEAR.NamingConventions.ValidClassName"/> | |
| <!-- Only one argument per line in multi-line function calls --> | |
| <rule ref="PEAR.Functions.FunctionCallSignature"> | |
| <properties> | |
| <property name="allowMultipleArguments" value="false"/> | |
| </properties> | |
| </rule> | |
| </ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment