Skip to content

Commit

Permalink
ignore python like multine errors in coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
adaamz committed Feb 12, 2019
1 parent 12126b2 commit bd1d6e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions phpcs/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
<!-- function declaration with opening brace on next line -->
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnNewLine" />

<!-- BEGIN multiline calls, python style -->
<exclude name="PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PSR2.Methods.FunctionCallSignature.Indent" />
<exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments" />
<exclude name="PSR2.Methods.FunctionCallSignature.CloseBracketLine" />
<!-- END multiline calls -->

<!-- space in control structures -->
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis" />
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" />
Expand Down

0 comments on commit bd1d6e9

Please sign in to comment.