From 23dbbaf8f91c4cb596116c4c5415b4e70c5b50f7 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 5 Apr 2024 17:18:08 +0000 Subject: [PATCH 1/2] fix: restore `Squiz.WhiteSpace.SuperfluousWhitespace` to WPGraphQL-Extra --- CHANGELOG.md | 7 +++++++ WPGraphQL-Extra/ruleset.xml | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82a4b1a..5dfb46c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). +## [2.0.0-beta.3] - @todo + +This release explicitly adds `Squiz.WhiteSpace.SuperfluousWhitespace` to the `WPGraphQL-Extra` ruleset, as it is silenced by VIPCS. + +### WPGraphQL-Extra +- Added `Squiz.WhiteSpace.SuperfluousWhitespace` and made explicit. + ## [2.0.0-beta.2] - 2023-11-5 This release updates the ruleset based on the latest changes to WPGraphQL core (v1.18.0). Specifically: diff --git a/WPGraphQL-Extra/ruleset.xml b/WPGraphQL-Extra/ruleset.xml index f8a0408..f894679 100644 --- a/WPGraphQL-Extra/ruleset.xml +++ b/WPGraphQL-Extra/ruleset.xml @@ -6,7 +6,18 @@ - + + + 5 + + + 5 + + + 5 + + + From c8d6babd0ba17e76147a7e3d94e8efefdb89d0b7 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 5 Apr 2024 17:26:19 +0000 Subject: [PATCH 2/2] chore: version bump --- CHANGELOG.md | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dfb46c..6ca14b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). -## [2.0.0-beta.3] - @todo +## [2.0.0-beta.3] - 2024-04-05 This release explicitly adds `Squiz.WhiteSpace.SuperfluousWhitespace` to the `WPGraphQL-Extra` ruleset, as it is silenced by VIPCS. diff --git a/composer.json b/composer.json index 60083d7..6e8661f 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "axepress/wp-graphql-cs", "type": "phpcodesniffer-standard", "description": "PHP_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "keywords": [ "phpcs", "wpcs",