Rules
Interfaces, Classes and Traits
- CustomValidationRule
- DisableIntrospection
- ExecutableDefinitions
- Executable definitions.
- FieldsOnCorrectType
- FragmentsOnCompositeTypes
- KnownArgumentNames
- Known argument names.
- KnownArgumentNamesOnDirectives
- Known argument names on directives.
- KnownDirectives
- KnownFragmentNames
- KnownTypeNames
- Known type names.
- LoneAnonymousOperation
- Lone anonymous operation.
- LoneSchemaDefinition
- Lone schema definition.
- NoFragmentCycles
- NoUndefinedVariables
- A Automattic\WooCommerce\Vendor\GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation.
- NoUnusedFragments
- NoUnusedVariables
- OneOfInputObjectsRule
- OneOf Input Objects validation rule.
- OverlappingFieldsCanBeMerged
- ReasonOrReasons is recursive, but PHPStan does not support that.
- PossibleFragmentSpreads
- PossibleTypeExtensions
- Possible type extensions.
- ProvidedRequiredArguments
- ProvidedRequiredArgumentsOnDirectives
- Provided required arguments on directives.
- QueryComplexity
- QueryDepth
- QuerySecurityRule
- ScalarLeafs
- SingleFieldSubscription
- UniqueArgumentDefinitionNames
- Unique argument definition names.
- UniqueArgumentNames
- UniqueDirectiveNames
- Unique directive names.
- UniqueDirectivesPerLocation
- Unique directive names per location.
- UniqueEnumValueNames
- UniqueFieldDefinitionNames
- Unique field definition names.
- UniqueFragmentNames
- UniqueInputFieldNames
- UniqueOperationNames
- UniqueOperationTypes
- Unique operation types.
- UniqueTypeNames
- Unique type names.
- UniqueVariableNames
- ValidationRule
- ValuesOfCorrectType
- Value literals of correct type.
- VariablesAreInputTypes
- VariablesInAllowedPosition
