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 026cab7 commit fd3b65fCopy full SHA for fd3b65f
phpcs.xml
@@ -4,4 +4,10 @@
4
<exclude name="moodle.Commenting.TodoComment"/>
5
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration"/>
6
</rule>
7
+ <!-- Moodle prefers single-quoted strings.
8
+ https://moodledev.io/general/development/policies/codingstyle#strings -->
9
+ <rule ref="Squiz.Strings.DoubleQuoteUsage">
10
+ <!-- But string interpolation is fine. -->
11
+ <exclude name="Squiz.Strings.DoubleQuoteUsage.ContainsVar"/>
12
+ </rule>
13
</ruleset>
0 commit comments