Skip to content

Commit 2718972

Browse files
committed
Update moodle ruleset to meet PHP CS 4.0 format (Fixes #210)
1 parent 2058bd1 commit 2718972

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
1414
- Dropped the following deprecated sniffs:
1515
- `Squiz.Classes.DuplicateProperty` - JS only
1616
- `Generic.Functions.CallTimePassByReference` - PHP support dropped in PHP 5.4
17+
### Fixed
18+
- Update incorrect use of legacy ruleset format.
1719

1820
## [v3.5.2] - 2025-08-14
1921
### Fixed

moodle/ruleset.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@
8989

9090
<rule ref="Generic.WhiteSpace.ScopeIndent">
9191
<properties>
92-
<property name="ignoreIndentationTokens" type="array" value="T_CLOSE_TAG"/>
92+
<property name="ignoreIndentationTokens" type="array">
93+
<element value="T_CLOSE_TAG"/>
94+
</property>
9395
</properties>
9496
</rule>
9597

0 commit comments

Comments
 (0)