We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7434d0d commit c7d996eCopy full SHA for c7d996e
Yii2/ruleset.xml
@@ -30,6 +30,12 @@
30
<!-- ... other Yii2 specific rules. -->
31
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
32
33
+ <!-- If string doesn't contain variables or single quotes, use single quotes. -->
34
+ <rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
35
+ <!-- Not check variable substitution -->
36
+ <severity>0</severity>
37
+ </rule>
38
+
39
<exclude-pattern>*/i18n/data/*</exclude-pattern>
40
<exclude-pattern>*/views/errorHandler/*</exclude-pattern>
41
<exclude-pattern>*/requirements/*</exclude-pattern>
0 commit comments