Created
November 7, 2014 11:24
-
-
Save shahmirj/a09a949ef1916943df9e to your computer and use it in GitHub Desktop.
My PHP Coding Standard
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="MyStandard"> | |
<rule ref="PEAR"> | |
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/> | |
<exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/> | |
<exclude name="PEAR.WhiteSpace.ScopeIndent"/> | |
</rule> | |
<rule ref="PSR1"> | |
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" /> | |
</rule> | |
<rule ref="PSR2"> | |
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/> | |
<exclude name="Squiz.Commenting.ClosingDeclarationComment.Missing"/> | |
<exclude name="Squiz.NamingConventions.ConstantCase.Found"/> | |
<exclude name="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeClose"/> | |
</rule> | |
<rule ref="Generic.WhiteSpace.ScopeIndent"> | |
<properties> | |
<property name="indent" value="4"/> | |
</properties> | |
</rule> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment