Skip to content

Commit 5531fb9

Browse files
author
Klaas Sangers
authored
Merge pull request #3 from marcelmediact/feature/improve-quality-coding-standard
Feature: improved coding standard
2 parents 4aa22c4 + c692181 commit 5531fb9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/MediactMagento2/ruleset.xml

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@
1717
<exclude name="MediactCommon.Php7.ReturnType" />
1818
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing" />
1919
<exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
20-
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore" />
2120
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows" />
22-
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
23-
<exclude name="Generic.Commenting.DocComment.TagValueIndent" />
24-
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
25-
<exclude name="Generic.PHP.Syntax"/>
2621
</rule>
2722

2823
<rule ref="Generic.Files.LineLength.TooLong">
@@ -40,4 +35,7 @@
4035
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed">
4136
<exclude-pattern>*.phtml</exclude-pattern>
4237
</rule>
38+
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
39+
<exclude-pattern>*.phtml</exclude-pattern>
40+
</rule>
4341
</ruleset>

0 commit comments

Comments
 (0)