Skip to content

Commit ebfb123

Browse files
committed
Minor PHPCS rule UnnecessaryStringConcat allowMultiline
1 parent a4a864b commit ebfb123

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

phpcs.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<ruleset name="XlsxFastEditor">
33
<arg name="extensions" value="php"/>
44
<arg name="tab-width" value="4"/>
5+
<exclude-pattern>./.git/</exclude-pattern>
6+
<exclude-pattern>./node_modules/</exclude-pattern>
57
<exclude-pattern>./vendor/</exclude-pattern>
68
<rule ref="PSR12">
79
<exclude name="Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed"/>
@@ -21,7 +23,11 @@
2123
</properties>
2224
</rule>
2325
<rule ref="Generic.PHP.DeprecatedFunctions"/>
24-
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
26+
<rule ref="Generic.Strings.UnnecessaryStringConcat">
27+
<properties>
28+
<property name="allowMultiline" value="true"/>
29+
</properties>
30+
</rule>
2531
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
2632
<rule ref="Squiz.Classes.ClassFileName.NoMatch"/>
2733
<rule ref="Squiz.Commenting.ClassComment.Missing"/>

0 commit comments

Comments
 (0)