Skip to content

Commit 042132b

Browse files
authored
Add extra phpcs checks (#5)
Squiz.WhiteSpace.MemberVarSpacing for enforcing new lines between class properties. PSR12.Functions.ReturnTypeDeclaration for how to write return types.
1 parent 73c4ea2 commit 042132b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/MediactMagento2/ruleset.xml

+8
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,12 @@
3838
<rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
3939
<exclude-pattern>*.phtml</exclude-pattern>
4040
</rule>
41+
42+
<rule ref="Squiz.WhiteSpace.MemberVarSpacing" >
43+
<properties>
44+
<property name="spacingBeforeFirst" value="0"/>
45+
</properties>
46+
</rule>
47+
48+
<rule ref="PSR12.Functions.ReturnTypeDeclaration" />
4149
</ruleset>

0 commit comments

Comments
 (0)