Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

Commit a64cf38

Browse files
committed
fate(spip50): new CS Standard
1 parent 80ea18d commit a64cf38

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/SCS1/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</properties>
3939
</rule>
4040

41-
<rule ref="Generic.Files.LineLength">
41+
<rule ref="Generic.Files.LineLength">
4242
<properties>
4343
<property name="lineLimit" value="120"/>
4444
<property name="absoluteLineLimit" value="0"/>

src/SCS2/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<description>SPIP Coding Standard v2</description>
44

55
<rule ref="SCS1" />
6+
<rule ref="Squiz.Operators.ValidLogicalOperators" />
67

78
<rule ref="PSR2.Methods.MethodDeclaration.Underscore" >
89
<severity>5</severity>

src/SPIP50/ruleset.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" ?>
2+
<ruleset name="SPIP41">
3+
<description>Coding rules for SPIP 5.0</description>
4+
5+
<rule ref="SCS2"/>
6+
7+
<rule ref="PHPCompatibility"/>
8+
<config name="testVersion" value="8.1-"/>
9+
</ruleset>

0 commit comments

Comments
 (0)