Skip to content

Commit 23dbbaf

Browse files
committed
fix: restore Squiz.WhiteSpace.SuperfluousWhitespace to WPGraphQL-Extra
1 parent 88b27c5 commit 23dbbaf

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).
66

7+
## [2.0.0-beta.3] - @todo
8+
9+
This release explicitly adds `Squiz.WhiteSpace.SuperfluousWhitespace` to the `WPGraphQL-Extra` ruleset, as it is silenced by VIPCS.
10+
11+
### WPGraphQL-Extra
12+
- Added `Squiz.WhiteSpace.SuperfluousWhitespace` and made explicit.
13+
714
## [2.0.0-beta.2] - 2023-11-5
815

916
This release updates the ruleset based on the latest changes to WPGraphQL core (v1.18.0). Specifically:

WPGraphQL-Extra/ruleset.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@
66

77
<!-- The rules below are the changes from between the original sniff or parent ruleset, and what should be applied for this Standard. -->
88

9-
<!-- The following rules enforce code formatting standards.-->
9+
<!-- These formatting rules are suppressed in VIP-GO and restored here.-->
10+
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
11+
<severity>5</severity>
12+
</rule>
13+
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines">
14+
<severity>5</severity>
15+
</rule>
16+
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
17+
<severity>5</severity>
18+
</rule>
19+
20+
<!-- The following Slevomat rules enforce code formatting standards.-->
1021
<rule ref="SlevomatCodingStandard.Classes.BackedEnumTypeSpacing" />
1122
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing" />
1223
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing" />

0 commit comments

Comments
 (0)