Skip to content

Commit

Permalink
Merge pull request #1 from justlevine/release/1.0.0-beta.3
Browse files Browse the repository at this point in the history
release: 1.0.0 beta.3
  • Loading branch information
justlevine authored Aug 4, 2023
2 parents e45e4d5 + 017bdf0 commit 365a066
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a

## [Unreleased]

## [1.0.0-beta.3] - 2023-08-04
- 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)
- feat!: Move `SlevomatCodingStandard.Functions.StaticClosure` from `WPGraphQL-Strict` to `WPGraphQL-Minimum`. (Added to WPGraphQL in https://github.com/wp-graphql/wp-graphql/pull/2855)
- chore: Update `slevomat/coding-standard` to `8.13.4`.
- chore: Update Composer dev-deps.

## [1.0.0-beta.2] - 2023-06-17
- dev: Remove `Squiz.Commenting.FunctionComment.ParamCommentFullStop` and `Squiz.Commenting.FunctionComment.EmptyThrows` from `WPGraphQL-Strict`.
- dev: Update minimum PHPUnit version to `8.5.0`.
Expand Down
3 changes: 2 additions & 1 deletion WPGraphQL-Minimum/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
<exclude name="WordPress.CodeAnalysis.AssignmentInCondition.Found"/>

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

<!-- Enforce FQCN in comments -->
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
<!-- Enforce static closures -->
<rule ref="SlevomatCodingStandard.Functions.StaticClosure" />
</ruleset>
4 changes: 0 additions & 4 deletions WPGraphQL-Strict/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
<rule ref="WordPress.DateTime.RestrictedFunctions.date_date">
<severity>5</severity>
</rule>
<rule ref="WordPress.WP.I18n.MissingTranslatorsComment">
<severity>5</severity>
</rule>

<!-- Additional commenting sniffs are in WPGraphQL-Docs -->
<rule ref="Squiz.Commenting.FunctionComment">
Expand Down Expand Up @@ -73,7 +70,6 @@
<rule ref="SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch" />
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly" />

<rule ref="SlevomatCodingStandard.Functions.StaticClosure" />
<rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" />
<rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue" />

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "axepress/wp-graphql-cs",
"type": "phpcodesniffer-standard",
"description": "PHP_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"keywords": [
"phpcs",
"wpcs",
Expand Down

0 comments on commit 365a066

Please sign in to comment.