Skip to content

Commit 59283bd

Browse files
committed
Forbid spaces between parentheses and their content
1 parent e9cad6a commit 59283bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MO4/ruleset.xml

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
<property name="spacingBeforeFirst" value="0"/>
7474
</properties>
7575
</rule>
76+
<!-- Forbid spaces between parentheses and their content-->
77+
<rule ref="Generic.WhiteSpace.ArbitraryParenthesesSpacing">
78+
<properties>
79+
<property name="ignoreNewlines" value="1"/>
80+
</properties>
81+
</rule>
7682

7783
<!-- Forbid multiple assignments -->
7884
<rule ref="Squiz.PHP.DisallowMultipleAssignments"/>

0 commit comments

Comments
 (0)