2.0.0-beta.2
Pre-release
Pre-release
This release updates the ruleset based on the latest changes to WPGraphQL core (v1.18.0). Specifically:
WPGraphQL-Minimum
- Added
PHPCompatibility.Keywords.ForbiddenNamesAsDeclared.objectFound
. - Moved
SlevomatCodingStandard.Classes.RequireSelfReference
fromWPGraphQL-Strict
. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHint.LessSpecificNativeTypeHint
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.Variables.UselessVariable
fromWPGraphQL-Extra
.
WPGraphQL-Strict
- Moved
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
fromWPGraphQL-Extra
. - Added
SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue
. - Added
SlevomatCodingStandard.TypeHints.NullTypeHintOnLastPosition
. - Moved
SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingAnyTypeHint
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint
fromWPGraphQL-Extra
and made explicit.
WPGraphQL-Docs
- Added
Squiz.Commenting
subset ofWordPress-Docs
. - Added
SlevomatCodingStandard.TypeHints.LongTypeHints
. - Moved
SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessSuppress
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing
fromWPGraphQL-Extra
. - Moved
SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.PropertyTypeHint.UselessSuppress
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessSuppress
fromWPGraphQL-Extra
and made explicit. - Moved
SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing
fromWPGraphQL-Extra
.
WPGraphQL-Core
- Added
WPGraphQL-Docs
with some exceptions.
Full Changelog: 2.0.0-beta.1...2.0.0-beta.2