Skip to content

Commit 365a066

Browse files
authored
Merge pull request #1 from justlevine/release/1.0.0-beta.3
release: 1.0.0 beta.3
2 parents e45e4d5 + 017bdf0 commit 365a066

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
66

77
## [Unreleased]
88

9+
## [1.0.0-beta.3] - 2023-08-04
10+
- feat!: Move `WordPress.WP.I18n.MissingTranslatorsComment` from `WPGraphQL-Strict` to `WPGraphQL-Minimum`. (Added to WPGraphQL in https://github.com/wp-graphql/wp-graphql/pull/2856)
11+
- feat!: Move `SlevomatCodingStandard.Functions.StaticClosure` from `WPGraphQL-Strict` to `WPGraphQL-Minimum`. (Added to WPGraphQL in https://github.com/wp-graphql/wp-graphql/pull/2855)
12+
- chore: Update `slevomat/coding-standard` to `8.13.4`.
13+
- chore: Update Composer dev-deps.
14+
915
## [1.0.0-beta.2] - 2023-06-17
1016
- dev: Remove `Squiz.Commenting.FunctionComment.ParamCommentFullStop` and `Squiz.Commenting.FunctionComment.EmptyThrows` from `WPGraphQL-Strict`.
1117
- dev: Update minimum PHPUnit version to `8.5.0`.

WPGraphQL-Minimum/ruleset.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<exclude name="WordPress.CodeAnalysis.AssignmentInCondition.Found"/>
3838

3939
<!-- Added back in WPGraphQL-Strict -->
40-
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment"/>
4140
<exclude name="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid"/>
4241
<exclude name="WordPress.DateTime.RestrictedFunctions.date_date"/>
4342
</rule>
@@ -55,4 +54,6 @@
5554

5655
<!-- Enforce FQCN in comments -->
5756
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
57+
<!-- Enforce static closures -->
58+
<rule ref="SlevomatCodingStandard.Functions.StaticClosure" />
5859
</ruleset>

WPGraphQL-Strict/ruleset.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
<rule ref="WordPress.DateTime.RestrictedFunctions.date_date">
3131
<severity>5</severity>
3232
</rule>
33-
<rule ref="WordPress.WP.I18n.MissingTranslatorsComment">
34-
<severity>5</severity>
35-
</rule>
3633

3734
<!-- Additional commenting sniffs are in WPGraphQL-Docs -->
3835
<rule ref="Squiz.Commenting.FunctionComment">
@@ -73,7 +70,6 @@
7370
<rule ref="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch" />
7471
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly" />
7572

76-
<rule ref="SlevomatCodingStandard.Functions.StaticClosure" />
7773
<rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" />
7874
<rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" />
7975

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "axepress/wp-graphql-cs",
33
"type": "phpcodesniffer-standard",
44
"description": "PHP_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.",
5-
"version": "1.0.0-beta.2",
5+
"version": "1.0.0-beta.3",
66
"keywords": [
77
"phpcs",
88
"wpcs",

0 commit comments

Comments
 (0)