Skip to content

Commit

Permalink
Merge pull request #3 from marcelmediact/feature/improve-quality-codi…
Browse files Browse the repository at this point in the history
…ng-standard

Feature: improved coding standard
  • Loading branch information
Klaas Sangers committed May 24, 2018
2 parents 4aa22c4 + c692181 commit 5531fb9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/MediactMagento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@
<exclude name="MediactCommon.Php7.ReturnType" />
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" />
<exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows" />
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
<exclude name="Generic.Commenting.DocComment.TagValueIndent" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
<exclude name="Generic.PHP.Syntax"/>
</rule>

<rule ref="Generic.Files.LineLength.TooLong">
Expand All @@ -40,4 +35,7 @@
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed">
<exclude-pattern>*.phtml</exclude-pattern>
</rule>
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
<exclude-pattern>*.phtml</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 5531fb9

Please sign in to comment.