Skip to content

Instantly share code, notes, and snippets.

@eugene-dounar
Created May 30, 2013 17:09
Show Gist options
  • Save eugene-dounar/5679501 to your computer and use it in GitHub Desktop.
Save eugene-dounar/5679501 to your computer and use it in GitHub Desktop.
PHP CodeSniffer rules
<?xml version="1.0"?>
<ruleset name="Intellectsoft">
<description>Intellectsoft coding standard</description>
<exclude-pattern>*/Resources/*</exclude-pattern>
<rule ref="PSR2"/>
<rule ref="Symfony2.Formatting.BlankLineBeforeReturn"/>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket"><severity>0</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"><severity>0</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.MultipleArguments"><severity>0</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine"><severity>0</severity></rule>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment