Skip to content

Commit 96055c4

Browse files
committed
Feature: improved coding standard
In this commit the coding standard is adjusted to be more strict. Property declaration starting with an underscore is not allowed anymore, because the classes that are written internally should always abide to this standard. The stricter indentation rules will make the overall code look cleaner and be more readable. The generic syntax rule is for verifying that the code at least works.
1 parent 4aa22c4 commit 96055c4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/MediactMagento2/ruleset.xml

Lines changed: 0 additions & 5 deletions
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">

0 commit comments

Comments
 (0)