<!-- https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/PSR2/ruleset.xml -->
<rule ref="PSR2"/>
-
-
-
- <!-- currently 300 warnings, we set a limit later -->
<rule ref="Generic.Files.LineLength">
<properties>
- <property name="lineLimit" value="9999"/>
- <property name="absoluteLineLimit" value="0"/>
+ <property name="lineLimit" value="194"/>
+ <property name="absoluteLineLimit" value="194"/>
</properties>
</rule>
+
+ <!-- **************************************************************
+ STRING QUOTING
+ ************************************************************** -->
+
+ <!-- Prefer single quoted strings -->
+ <rule ref="Squiz.Strings.DoubleQuoteUsage" />
+
+ <!-- We allow variabled inside double-quoted strings "abc $somevar" -->
+ <rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
+ <severity>0</severity>
+ </rule>
+
+
+
+
+
<!-- **************************************************************
CONTROL STRUCTURES
************************************************************** -->