Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Coming from phpstan

Config translation

pun migrate keeps the old config and reports what it skips. Planned rules do not run.

Run pun migrate --from phpstan. It follows the config’s includes. That covers includes that an included .php file builds with variables, foreach, if, glob(), is_file(), class_exists(), and interface_exists(). class_exists() and interface_exists() know only PHP’s and PHPStan’s own classes. Any other class, such as one from a PHPStan extension in vendor/, stops the migration with an error.

phpstan.neon pun.toml
level: 5 [analyse] preset = "phpstan/level_5", which runs exactly PHPStan’s level 5
level: 0..10, level: max preset = "phpstan/level_<n>" or "phpstan/level_max", with on/off lines only for what the config changes, such as opt-in checks or strict-rules. --offer-preset offers Pun’s closest preset instead
paths, excludePaths, stubFiles [analyse] paths, exclude, stubs
scanFiles, scanDirectories, bootstrapFiles [analyse] scan and bootstrap. Files under vendor/ come back with their extension and aren’t copied
ignoreErrors identifiers, patterns, paths, count, reportUnmatched [[analyse.ignore]] with Pun rule, original identifier, message, paths, count, report-unmatched
reportUnmatchedIgnoredErrors: false [analyse] report-unmatched = false, and report-unmatched = false on each entry that doesn’t set reportUnmatched
Changed rule parameters Kebab-case options on each running rule that reads the parameter
strict-rules or deprecation-rules includes The matching Pun checks, when their parameter enables them
nesbot/carbon’s extension.neon Built in: carbon = "on" in [extensions] when composer.lock locks nesbot/carbon
A check that is a lint rule in Pun (array.duplicateKey) The lint rule, on in [[lint.overrides]] for paths and off for excludePaths, unless another config turns it on everywhere. pun analyse also reports the check’s errors under the lint rule’s ID, because the lint rule sees no types and can miss some
@phpstan-ignore method.notFound @pun-ignore analyse/undefined/method
Baselines Not copied. Run pun analyse --generate-baseline.
bleedingEdge.neon include [analyse] bleeding-edge = true, and an "on" line for each rule it turns on
phpVersion: 80400, or {min, max} [php] version = "8.4", from min. A different max is reported and skipped
Custom extensions, rules: classes, services tagged phpstan.* Reported and skipped, one line each

The rule mapping lists PHPStan identifiers. An exact identifier wins over a pattern.

Rule mapping

995 of 995 upstream entries

UpstreamPun rule
argument.bitmaskNotAllowedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.byRefanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.duplicateanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.exclusiveConstantsanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.fscanfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

argument.invalidConstantanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.invalidPregQuoteanalyse/types/missing-preg-quote-delimiter

Merged with RegularExpressionQuotingRule.

argument.missinganalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.namedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.namedNotSupportedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.nonUnpackAfterUnpackedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.parameterRenamedInSubtypeanalyse/types/renamed-parameter-in-subtype

Merged with MethodCallWithPossiblyRenamedNamedArgumentRule, IncompatibleParameterName.

argument.positionalAfterNamedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.printfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

argument.sprintfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

argument.sscanfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

argument.staticClosureanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.templateTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.typeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.unknownanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.unpackAfterNamedanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.unpackNonIterableanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.unresolvableTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

argument.unusedanalyse/dead-code/unused-argument

Merged with DefineParametersRule.

argument.vprintfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

argument.vsprintfanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from argument.%s.

arguments.countanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section).

array.duplicateKeylint/dead-code/no-duplicate-array-key

Merged with RemoveDuplicatedArrayKey, DuplicateKeysInLiteralArraysRule, DuplicateArrayKey.

array.invalidKeyanalyse/arrays/invalid-array-key

Merged with InvalidKeyInArrayItemRule, InvalidArrayElementKey.

array.offsetOverwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.unusedOffset, array.unusedOffsetFlow and 24 others (see the rule's Replaces section).

array.unusedOffsetanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffsetFlow and 24 others (see the rule's Replaces section).

array.unusedOffsetFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

arrayFilter.alwaysEmptyanalyse/types/useless-array-filter

Merged with ArrayFilterRule, arrayFilter.empty, arrayFilter.same.

arrayFilter.emptyanalyse/types/useless-array-filter

Merged with ArrayFilterRule, arrayFilter.alwaysEmpty, arrayFilter.same.

arrayFilter.sameanalyse/types/useless-array-filter

Merged with ArrayFilterRule, arrayFilter.alwaysEmpty, arrayFilter.empty.

arrayFilter.strictphpstan-strict-ruleslint/functions/require-array-filter-callback

Merged with ArrayFilterStrictRule.

arrayUnpacking.nonIterableanalyse/types/unpack-non-iterable

Merged with UnpackIterableInArrayRule.

arrayUnpacking.stringOffsetanalyse/types/unpack-string-key

Merged with ArrayUnpackingRule.

arrayValues.emptyanalyse/types/redundant-array-values

Merged with ArrayValuesRule, arrayValues.list.

arrayValues.listanalyse/types/redundant-array-values

Merged with ArrayValuesRule, arrayValues.empty.

assert.alreadyNarrowedTypeanalyse/phpdoc/invalid-assert-tag

Merged with FunctionAssertRule, assert.impossibleType, assert.trait and 2 others (see the rule's Replaces section).

assert.impossibleTypeanalyse/phpdoc/invalid-assert-tag

Merged with FunctionAssertRule, assert.alreadyNarrowedType, assert.trait and 2 others (see the rule's Replaces section).

assert.traitanalyse/phpdoc/invalid-assert-tag

Merged with FunctionAssertRule, assert.alreadyNarrowedType, assert.impossibleType and 2 others (see the rule's Replaces section).

assert.unknownExpranalyse/phpdoc/invalid-assert-tag

Merged with FunctionAssertRule, assert.alreadyNarrowedType, assert.impossibleType and 2 others (see the rule's Replaces section).

assert.unresolvableTypeanalyse/phpdoc/invalid-assert-tag

Merged with FunctionAssertRule, assert.alreadyNarrowedType, assert.impossibleType and 2 others (see the rule's Replaces section).

assign.byRefForeachExpranalyse/types/by-ref-foreach-on-expression

Merged with AssignToByRefExprFromForeachRule.

assign.invalidExpranalyse/types/invalid-assignment-target

Merged with InvalidAssignVarRule, InvalidAssignment, nullsafe.assign and 1 others (see the rule's Replaces section).

assign.overwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

assign.propertyPrivateSetanalyse/types/invalid-property-assignment

Merged with PropertyAssignRefRule, assign.propertyProtectedSet, property.assignByRef. Expanded from assign.property%s.

assign.propertyProtectedSetanalyse/types/invalid-property-assignment

Merged with PropertyAssignRefRule, assign.propertyPrivateSet, property.assignByRef. Expanded from assign.property%s.

assign.propertyReadOnlyanalyse/types/write-to-readonly-property

Merged with WritingToReadOnlyPropertiesRule.

assign.propertyTypeanalyse/types/property-assign

Merged with TypesAssignedToPropertiesRule, InvalidPropertyAssignmentValue, InvalidPropertyWrite and 3 others (see the rule's Replaces section).

assign.readOnlyPropertyanalyse/types/readonly-property-write

Merged with ReadOnlyPropertyAssignRule, property.readOnlyAssignNotInConstructor, property.readOnlyAssignNotOnThis and 1 others (see the rule's Replaces section).

assign.readOnlyPropertyByPhpDocanalyse/classes/uninitialized-phpdoc-readonly

Merged with MissingReadOnlyByPhpDocPropertyAssignRule, property.uninitializedReadonlyByPhpDoc.

assign.redundantanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

assign.staticPropertyPrivateSetanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyProtectedSet, class.noParent and 3 others (see the rule's Replaces section). Expanded from assign.staticProperty%s.

assign.staticPropertyProtectedSetanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyPrivateSet, class.noParent and 3 others (see the rule's Replaces section). Expanded from assign.staticProperty%s.

assign.thisanalyse/types/assign-to-this

Merged with InvalidVariableAssignRule, AssignmentToThis.

assign.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

assign.unusedFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

assignOp.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, binaryOp.invalid, empty.expr and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

attribute.abstractanalyse/attributes/invalid

Merged with NonClassAttributeClassRule, AbstractClassUsedAsAttribute, AttributeNotRepeatable and 7 others (see the rule's Replaces section).

attribute.classanalyse/attributes/invalid

Merged with NonClassAttributeClassRule, AbstractClassUsedAsAttribute, AttributeNotRepeatable and 7 others (see the rule's Replaces section). Expanded from attribute.%s.

attribute.constructorNotPublicanalyse/attributes/invalid

Merged with NonClassAttributeClassRule, AbstractClassUsedAsAttribute, AttributeNotRepeatable and 7 others (see the rule's Replaces section).

attribute.deprecatedanalyse/attributes/invalid-class-constant-attribute

Merged with ClassConstantAttributesRule, NonExistentAttributeClass, attribute.noConstructor and 3 others (see the rule's Replaces section).

attribute.enumanalyse/attributes/invalid

Merged with NonClassAttributeClassRule, AbstractClassUsedAsAttribute, AttributeNotRepeatable and 7 others (see the rule's Replaces section). Expanded from attribute.%s.

attribute.interfaceanalyse/attributes/invalid

Merged with NonClassAttributeClassRule, AbstractClassUsedAsAttribute, AttributeNotRepeatable and 7 others (see the rule's Replaces section). Expanded from attribute.%s.

attribute.noConstructoranalyse/attributes/invalid-class-constant-attribute

Merged with ClassConstantAttributesRule, NonExistentAttributeClass, attribute.deprecated and 3 others (see the rule's Replaces section).

attribute.nonRepeatableanalyse/attributes/invalid-class-constant-attribute

Merged with ClassConstantAttributesRule, NonExistentAttributeClass, attribute.deprecated and 3 others (see the rule's Replaces section).

attribute.notAttributeanalyse/attributes/invalid-class-constant-attribute

Merged with ClassConstantAttributesRule, NonExistentAttributeClass, attribute.deprecated and 3 others (see the rule's Replaces section).

attribute.notFoundanalyse/attributes/invalid-class-constant-attribute

Merged with ClassConstantAttributesRule, NonExistentAttributeClass, attribute.deprecated and 3 others (see the rule's Replaces section).

attribute.targetanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, method.templateTypeNotInParameter and 7 others (see the rule's Replaces section).

attribute.traitanalyse/attributes/trait-as-attribute

Merged with TraitAttributeClassRule.

attribute.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

attribute.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

backtick.deprecatedformat/functions/backtick-to-shell-exec

Merged with backtick_to_shell_exec, ShellExecFunctionCallOverBackticks, BacktickRule and 4 others (see the rule's Replaces section).

backtick.notAllowedphpstan-strict-rulesformat/functions/backtick-to-shell-exec

Merged with backtick_to_shell_exec, ShellExecFunctionCallOverBackticks, BacktickRule and 4 others (see the rule's Replaces section).

binaryOp.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, empty.expr and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

booleanAnd.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanAnd.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanAnd.leftAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.rightAlwaysFalse, booleanAnd.rightAlwaysTrue and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

booleanAnd.leftAlwaysTruelint/dead-code/no-always-true-if

Merged with RemoveAlwaysTrueIfCondition, if.alwaysTrue.

booleanAnd.leftNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.rightNotBoolean, booleanOr.leftNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.leftNotBoolean.

booleanAnd.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section). Expanded from %s.resultUnused.

booleanAnd.rightAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysTrue and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

booleanAnd.rightAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

booleanAnd.rightNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanOr.leftNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.rightNotBoolean.

booleanNot.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanNot.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanNot.exprNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-not-operand

Merged with BooleanInBooleanNotRule.

booleanOr.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanOr.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

booleanOr.leftAlwaysFalselint/dead-code/no-always-false-condition

Merged with ReduceAlwaysFalseIfOr.

booleanOr.leftAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

booleanOr.leftNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.leftNotBoolean.

booleanOr.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section). Expanded from %s.resultUnused.

booleanOr.rightAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

booleanOr.rightAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

booleanOr.rightNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.rightNotBoolean.

break.outOfLoopanalyse/control-flow/break-outside-loop

Merged with ContinueBreakInLoopRule, InvalidBreak, InvalidContinue and 1 others (see the rule's Replaces section). Expanded from %s.outOfLoop.

callable.inVoidCastanalyse/dead-code/discarded-function-result

Merged with CallToFunctionStatementWithNoDiscardRule, callable.resultDiscarded, function.inVoidCast and 1 others (see the rule's Replaces section).

callable.inaccessibleMethodanalyse/functions/invalid-callable-call

Merged with CallCallablesRule.

callable.nonCallableanalyse/functions/invalid-first-class-callable

Merged with FunctionCallableRule.

callable.notSupportedanalyse/classes/new-as-callable

Merged with InstantiationCallableRule.

callable.resultDiscardedanalyse/dead-code/discarded-function-result

Merged with CallToFunctionStatementWithNoDiscardRule, callable.inVoidCast, function.inVoidCast and 1 others (see the rule's Replaces section).

callable.shadowTemplateanalyse/phpdoc/property-type-mismatch

Merged with IncompatiblePropertyPhpDocTypeRule, property.unresolvableType.

callable.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

callable.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

cast.boolanalyse/types/invalid-cast

Merged with InvalidCastRule, InvalidTypeCast, cast.double and 2 others (see the rule's Replaces section). Expanded from cast.%s.

cast.deprecatedformat/casts/short-scalar

Merged with short_scalar_cast, DeprecatedCastRule, deprecated-cast.

cast.doubleanalyse/types/invalid-cast

Merged with InvalidCastRule, InvalidTypeCast, cast.bool and 2 others (see the rule's Replaces section). Expanded from cast.%s.

cast.intanalyse/types/invalid-cast

Merged with InvalidCastRule, InvalidTypeCast, cast.bool and 2 others (see the rule's Replaces section). Expanded from cast.%s.

cast.stringanalyse/types/invalid-cast

Merged with InvalidCastRule, InvalidTypeCast, cast.bool and 2 others (see the rule's Replaces section). Expanded from cast.%s.

cast.unsetanalyse/casts/unset-not-supported

Merged with UnsetCastRule.

cast.uselessphpstan-strict-ruleslint/dead-code/no-useless-cast

Merged with RecastingRemoval, UselessCastRule, RedundantCast.

cast.voidanalyse/types/invalid-void-cast

Merged with VoidCastRule, cast.voidNotSupported.

cast.voidNotSupportedanalyse/types/invalid-void-cast

Merged with VoidCastRule, cast.void.

catch.alreadyCaughtanalyse/types/dead-catch

Merged with CatchWithUnthrownExceptionRule, DeadCatch, DuplicateCaughtType and 1 others (see the rule's Replaces section).

catch.deprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedEnum and 35 others (see the rule's Replaces section).

catch.deprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

catch.deprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

catch.deprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

catch.internalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalEnum, catch.internalInterface and 33 others (see the rule's Replaces section).

catch.internalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalInterface and 33 others (see the rule's Replaces section).

catch.internalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

catch.internalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

catch.neverThrownanalyse/types/dead-catch

Merged with CatchWithUnthrownExceptionRule, DeadCatch, DuplicateCaughtType and 1 others (see the rule's Replaces section).

catch.nonCapturingNotSupportedanalyse/statements/non-capturing-catch-not-supported

Merged with NoncapturingCatchRule.

catch.notThrowableanalyse/types/catch-non-throwable

Merged with CaughtExceptionExistenceRule, CatchTypeNotThrowable, InvalidCatchType and 2 others (see the rule's Replaces section).

catch.unusedVariableFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

class.allowDynamicPropertiesReadonlyanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.deprecatedAttribute, enum.allowDynamicProperties and 4 others (see the rule's Replaces section).

class.deprecatedphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.deprecatedAttributeanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, enum.allowDynamicProperties and 4 others (see the rule's Replaces section). Expanded from %s.deprecatedAttribute.

class.disallowedSubtypeanalyse/classes/disallowed-subtype

Merged with AllowedSubTypesRule, enum.disallowedSubtype, interface.disallowedSubtype and 1 others (see the rule's Replaces section). Expanded from %s.disallowedSubtype.

class.duplicateanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicateConstant and 19 others (see the rule's Replaces section). Expanded from %s.duplicate.

class.duplicateConstantanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateConstant.

class.duplicateEnumCaseanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateEnumCase.

class.duplicateMethodanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateMethod.

class.duplicatePropertyanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateProperty.

class.extendsDeprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.extendsDeprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.extendsDeprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.extendsDeprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.extendsEnumanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.extendsFinalanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.extendsFinalByPhpDocanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.extendsInterfaceanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.extendsInternalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.extendsInternalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.extendsInternalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.extendsInternalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.extendsTraitanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.implementsDeprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.implementsDeprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.implementsDeprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.implementsDeprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

class.implementsInternalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.implementsInternalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.implementsInternalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.implementsInternalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

class.missingExtendsanalyse/classes/missing-required-parent

Merged with RequireExtendsRule, MissingRequiredInterface, MissingRequiredParent.

class.missingImplementsanalyse/classes/missing-required-interface

Merged with RequireImplementsRule.

class.nameCaseanalyse/undefined/group-import

Merged with ExistingNamesInGroupUseRule, checkClassCaseSensitivity, IncorrectClassLikeCasing and 5 others (see the rule's Replaces section). Expanded from %s.nameCase.

class.nameInUseanalyse/imports/name-already-in-use

Merged with UsedNamesRule, NameAlreadyInUse, enum.nameInUse and 3 others (see the rule's Replaces section). Expanded from %s.nameInUse.

class.noParentanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyPrivateSet, assign.staticPropertyProtectedSet and 3 others (see the rule's Replaces section).

class.nonReadOnlyanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.notFoundanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

class.prefixedanalyse/types/catch-non-throwable

Merged with CaughtExceptionExistenceRule, CatchTypeNotThrowable, InvalidCatchType and 2 others (see the rule's Replaces section).

class.readOnlyanalyse/classes/invalid-extends

Merged with ExistingClassInClassExtendsRule, ExtendFinalClass, InvalidExtend and 11 others (see the rule's Replaces section).

class.serializableanalyse/classes/missing-serialize-methods

Merged with MissingMagicSerializationMethodsRule.

class.toStringDeprecatedphpstan-deprecation-rulesanalyse/deprecated/to-string

Merged with RestrictedUsageOfDeprecatedStringCastRule.

classConstant.classanalyse/classes/class-named-constant

Merged with ClassAsClassConstantRule.

classConstant.deprecatedphpstan-deprecation-rulesanalyse/deprecated/class-constant

Merged with RestrictedDeprecatedClassConstantUsageExtension, DeprecatedClassConstant, enumCase.deprecated.

classConstant.deprecatedClassanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedEnum and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.deprecatedEnumanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.deprecatedInterfaceanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.deprecatedTraitanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.dynamicFetchanalyse/classes/invalid-dynamic-constant-fetch

Merged with DynamicClassConstantFetchRule, classConstant.nameType.

classConstant.dynamicStringanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.finalanalyse/classes/incompatible-constant-override

Merged with OverridingConstantRule, classConstant.missingNativeType, classConstant.nativeType and 2 others (see the rule's Replaces section).

classConstant.finalNotSupportedanalyse/classes/final-constant-not-supported

Merged with FinalConstantRule.

classConstant.finalPrivateanalyse/classes/final-private-constant

Merged with FinalPrivateConstantRule.

classConstant.inTraitanalyse/classes/constant-in-trait

Merged with ConstantsInTraitsRule.

classConstant.internalanalyse/classes/internal-constant-access

Merged with RestrictedClassConstantUsageRule.

classConstant.internalClassanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.internalEnumanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.internalInterfaceanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.internalTraitanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.missingNativeTypeanalyse/classes/incompatible-constant-override

Merged with OverridingConstantRule, classConstant.final, classConstant.nativeType and 2 others (see the rule's Replaces section).

classConstant.nameNotStringanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.nameTypeanalyse/classes/invalid-dynamic-constant-fetch

Merged with DynamicClassConstantFetchRule, classConstant.dynamicFetch.

classConstant.nativeTypeanalyse/classes/incompatible-constant-override

Merged with OverridingConstantRule, classConstant.final, classConstant.missingNativeType and 2 others (see the rule's Replaces section).

classConstant.nativeTypeNotSupportedanalyse/classes/readonly-class-not-supported

Merged with ReadOnlyClassRule.

classConstant.nonFinalanalyse/classes/conflicting-trait-constant

Merged with ConflictingTraitConstantsRule.

classConstant.nonObjectanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.notFoundanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.notSupportedanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.onTraitanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section).

classConstant.phpDocTypeanalyse/types/class-constant-value

Merged with ValueAssignedToClassConstantRule, classConstant.value.

classConstant.privateanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.protectedanalyse/undefined/class-constant

Merged with ClassConstantRule, NonExistentClassConstant, classConstant.deprecatedClass and 14 others (see the rule's Replaces section). Expanded from classConstant.%s.

classConstant.typeanalyse/classes/incompatible-constant-override

Merged with OverridingConstantRule, classConstant.final, classConstant.missingNativeType and 2 others (see the rule's Replaces section).

classConstant.unresolvableTypeanalyse/phpdoc/constant-type-mismatch

Merged with IncompatibleClassConstantPhpDocTypeRule.

classConstant.unusedlint/dead-code/no-unused-private-constant

Merged with RemoveUnusedPrivateClassConstant, UnusedPrivateConstantRule.

classConstant.valueanalyse/types/class-constant-value

Merged with ValueAssignedToClassConstantRule, classConstant.phpDocType.

classConstant.visibilityanalyse/classes/incompatible-constant-override

Merged with OverridingConstantRule, classConstant.final, classConstant.missingNativeType and 2 others (see the rule's Replaces section).

classImplements.classanalyse/classes/invalid-implements

Merged with ExistingClassesInClassImplementsRule, classImplements.enum, classImplements.trait and 1 others (see the rule's Replaces section).

classImplements.enumanalyse/classes/invalid-implements

Merged with ExistingClassesInClassImplementsRule, classImplements.class, classImplements.trait and 1 others (see the rule's Replaces section).

classImplements.traitanalyse/classes/invalid-implements

Merged with ExistingClassesInClassImplementsRule, classImplements.class, classImplements.enum and 1 others (see the rule's Replaces section).

clone.nonObjectanalyse/types/clone-non-object

Merged with VariableCloningRule, InvalidClone.

closure.unusedUselint/functions/no-unused-closure-use

Merged with lambda_not_used_import, RemoveUnusedClosureVariableUse, UnusedClosureUsesRule and 2 others (see the rule's Replaces section).

closure.unusedUseFlowlint/functions/no-unused-closure-use

Merged with lambda_not_used_import, RemoveUnusedClosureVariableUse, UnusedClosureUsesRule and 2 others (see the rule's Replaces section).

closure.useDuplicateanalyse/functions/invalid-closure-use

Merged with InvalidLexicalVariablesInClosureUseRule, DuplicateClosureUseVariable, closure.useSuperGlobal and 1 others (see the rule's Replaces section).

closure.useSuperGlobalanalyse/functions/invalid-closure-use

Merged with InvalidLexicalVariablesInClosureUseRule, DuplicateClosureUseVariable, closure.useDuplicate and 1 others (see the rule's Replaces section).

closure.useThisanalyse/functions/invalid-closure-use

Merged with InvalidLexicalVariablesInClosureUseRule, DuplicateClosureUseVariable, closure.useDuplicate and 1 others (see the rule's Replaces section).

conditionalType.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

conditionalType.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

conditionalType.subjectNotFoundanalyse/phpdoc/invalid-conditional-return

Merged with FunctionConditionalReturnTypeRule.

consistentConstructor.privateanalyse/classes/private-consistent-constructor

Merged with ConsistentConstructorDeclarationRule.

constant.attributesNotSupportedanalyse/attributes/invalid-constant-attribute

Merged with ConstantAttributesRule, constant.attributesRuleCannotRun.

constant.attributesRuleCannotRunanalyse/attributes/invalid-constant-attribute

Merged with ConstantAttributesRule, constant.attributesNotSupported.

constant.defineValueanalyse/types/define-value

Merged with ValueAssignedToDefineRule, InvalidConstantValue.

constant.deprecatedphpstan-deprecation-rulesanalyse/deprecated/constant

Merged with FetchingDeprecatedConstRule, DeprecatedConstant.

constant.notFoundanalyse/undefined/constant

Merged with ConstantRule, NonExistentConstant.

constant.valueanalyse/types/constant-value

Merged with ValueAssignedToGlobalConstantRule.

constructor.callphpstan-strict-ruleslint/classes/no-explicit-constructor-call

Merged with IllegalConstructorMethodCallRule.

constructor.missingParentCallphpstan-strict-rulesanalyse/classes/missing-parent-constructor-call

Merged with RequireParentConstructCallRule.

constructor.returnTypeanalyse/classes/constructor-with-return-type

Merged with ConstructorReturnTypeRule.

constructor.unusedParameterlint/dead-code/no-unused-constructor-param

Merged with RemoveUnusedConstructorParam, UnusedConstructorParametersRule, constructor.unusedParameterFlow.

constructor.unusedParameterFlowlint/dead-code/no-unused-constructor-param

Merged with RemoveUnusedConstructorParam, UnusedConstructorParametersRule, constructor.unusedParameter.

continue.outOfLoopanalyse/control-flow/break-outside-loop

Merged with ContinueBreakInLoopRule, InvalidBreak, InvalidContinue and 1 others (see the rule's Replaces section). Expanded from %s.outOfLoop.

deadCode.unreachablelint/dead-code/no-unreachable-code

Merged with RemoveUnreachableStatement, UnreachableStatementRule, UnevaluatedCode.

declareStrictTypes.notFirstanalyse/statements/invalid-declare-strict-types

Merged with DeclareStrictTypesRule, declareStrictTypes.value.

declareStrictTypes.valueanalyse/statements/invalid-declare-strict-types

Merged with DeclareStrictTypesRule, declareStrictTypes.notFirst.

div.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-division

Merged with OperandsInArithmeticDivisionRule, div.rightNonNumeric.

div.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-division

Merged with OperandsInArithmeticDivisionRule, div.leftNonNumeric.

doWhile.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

doWhile.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

doWhile.condNotBooleanphpstan-strict-rulesanalyse/control-flow/non-boolean-do-while

Merged with BooleanInDoWhileConditionRule.

echo.nonStringanalyse/types/echo-non-string

Merged with EchoRule.

elseif.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

elseif.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

elseif.condNotBooleanphpstan-strict-rulesanalyse/control-flow/non-boolean-elseif

Merged with BooleanInElseIfConditionRule.

empty.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

empty.initializedPropertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

empty.notAllowedphpstan-strict-ruleslint/style/no-empty

Merged with DisallowedEmptyRule, no-empty.

empty.offsetanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.offset.

empty.propertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

empty.variableanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.variable.

encapsedStringPart.nonStringanalyse/types/interpolated-non-string

Merged with InvalidPartOfEncapsedStringRule.

enum.allowDynamicPropertiesanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, class.deprecatedAttribute and 4 others (see the rule's Replaces section).

enum.backingTypeanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.caseOutsideOfEnumanalyse/classes/enum-case-outside-enum

Merged with EnumCaseOutsideEnumRule.

enum.caseTypeanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.caseWithValueanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.constructoranalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.deprecatedAttributeanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, class.deprecatedAttribute and 4 others (see the rule's Replaces section). Expanded from %s.deprecatedAttribute.

enum.destructoranalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.disallowedSubtypeanalyse/classes/disallowed-subtype

Merged with AllowedSubTypesRule, class.disallowedSubtype, interface.disallowedSubtype and 1 others (see the rule's Replaces section). Expanded from %s.disallowedSubtype.

enum.duplicateanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicate.

enum.duplicateConstantanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateConstant.

enum.duplicateEnumCaseanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateEnumCase.

enum.duplicateMethodanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateMethod.

enum.duplicatePropertyanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateProperty.

enum.duplicateValueanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.genericanalyse/types/enum-template-not-allowed

Merged with EnumTemplateTypeRule.

enum.implementsDeprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

enum.implementsDeprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

enum.implementsDeprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

enum.implementsDeprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

enum.implementsInternalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

enum.implementsInternalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

enum.implementsInternalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

enum.implementsInternalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

enum.magicMethodanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.methodRedeclarationanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.missingCaseanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enum.nameCaseanalyse/undefined/group-import

Merged with ExistingNamesInGroupUseRule, checkClassCaseSensitivity, IncorrectClassLikeCasing and 5 others (see the rule's Replaces section). Expanded from %s.nameCase.

enum.nameInUseanalyse/imports/name-already-in-use

Merged with UsedNamesRule, NameAlreadyInUse, class.nameInUse and 3 others (see the rule's Replaces section). Expanded from %s.nameInUse.

enum.serializableanalyse/classes/invalid-enum

Merged with EnumSanityRule, DuplicateEnumCaseValue, InvalidEnumCaseValue and 9 others (see the rule's Replaces section).

enumCase.deprecatedphpstan-deprecation-rulesanalyse/deprecated/class-constant

Merged with RestrictedDeprecatedClassConstantUsageExtension, DeprecatedClassConstant, classConstant.deprecated.

enumImplements.classanalyse/classes/invalid-enum-implements

Merged with ExistingClassesInEnumImplementsRule, enumImplements.enum, enumImplements.trait.

enumImplements.enumanalyse/classes/invalid-enum-implements

Merged with ExistingClassesInEnumImplementsRule, enumImplements.class, enumImplements.trait.

enumImplements.traitanalyse/classes/invalid-enum-implements

Merged with ExistingClassesInEnumImplementsRule, enumImplements.class, enumImplements.enum.

equal.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

equal.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

equal.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

equal.notAllowedphpstan-strict-ruleslint/operators/no-loose-equality

Merged with DisallowedLooseComparisonRule, notEqual.notAllowed.

expr.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section).

filterVar.nullOnFailureAndThrowOnFailureanalyse/functions/conflicting-filter-var-flags

Merged with FilterVarRule.

finally.exitPointanalyse/dead-code/finally-overrides-exit

Merged with OverwrittenExitPointByFinallyRule.

for.variableOverwritephpstan-strict-ruleslint/control-flow/no-for-init-overwrite

Merged with OverwriteVariablesWithForLoopInitRule.

foreach.emptyArrayanalyse/types/foreach-on-empty-array

Merged with DeadForeachRule.

foreach.keyOverwritephpstan-strict-ruleslint/control-flow/no-loop-variable-overwrite

Merged with OverwriteVariablesWithForeachRule, foreach.valueOverwrite.

foreach.keyOverwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

foreach.nonIterableanalyse/types/foreach-non-iterable

Merged with IterableInForeachRule, FalseIterator, InvalidIterator and 5 others (see the rule's Replaces section).

foreach.unusedKeyanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

foreach.unusedKeyFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

foreach.unusedValueanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

foreach.unusedValueFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

foreach.valueOverwritephpstan-strict-ruleslint/control-flow/no-loop-variable-overwrite

Merged with OverwriteVariablesWithForeachRule, foreach.keyOverwrite.

foreach.valueOverwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

function.alreadyNarrowedTypeanalyse/dead-code/impossible-type-check

Merged with ImpossibleCheckTypeFunctionCallRule, ImpossibleCondition, ImpossibleNullTypeComparison and 5 others (see the rule's Replaces section).

function.deprecatedphpstan-deprecation-rulesanalyse/deprecated/function

Merged with RestrictedDeprecatedFunctionUsageExtension, DeprecatedFunction.

function.duplicateanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section).

function.impossibleHaystackValueanalyse/dead-code/impossible-in-array

Merged with ImpossibleInArrayHaystackFiniteTypesRule.

function.impossibleTypeanalyse/dead-code/impossible-type-check

Merged with ImpossibleCheckTypeFunctionCallRule, ImpossibleCondition, ImpossibleNullTypeComparison and 5 others (see the rule's Replaces section).

function.inVoidCastanalyse/dead-code/discarded-function-result

Merged with CallToFunctionStatementWithNoDiscardRule, callable.inVoidCast, callable.resultDiscarded and 1 others (see the rule's Replaces section).

function.inneranalyse/functions/unanalysed-inner-function

Merged with InnerFunctionRule.

function.internalanalyse/functions/internal-function-callable

Merged with RestrictedFunctionCallableUsageRule.

function.nameCaseanalyse/undefined/group-import

Merged with ExistingNamesInGroupUseRule, checkClassCaseSensitivity, IncorrectClassLikeCasing and 5 others (see the rule's Replaces section).

function.notFoundanalyse/undefined/function

Merged with CallToNonExistentFunctionRule, NonExistentFunction.

function.resultDiscardedanalyse/dead-code/discarded-function-result

Merged with CallToFunctionStatementWithNoDiscardRule, callable.inVoidCast, callable.resultDiscarded and 1 others (see the rule's Replaces section).

function.resultUnusedanalyse/dead-code/unused-function-result

Merged with CallToFunctionStatementWithoutImpurePointsRule.

function.strictphpstan-strict-ruleslint/functions/require-strict-function-call

Merged with StrictFunctionCallsRule.

function.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

function.unusedParameteranalyse/dead-code/unused-function-parameter

Merged with UnusedFunctionParametersRule, function.unusedParameterFlow.

function.unusedParameterFlowanalyse/dead-code/unused-function-parameter

Merged with UnusedFunctionParametersRule, function.unusedParameter.

function.uselessReturnValueanalyse/dead-code/useless-return-value

Merged with UselessFunctionReturnValueRule.

function.varianceanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, generics.callSiteVarianceConflict, generics.callSiteVarianceNotAllowed and 12 others (see the rule's Replaces section). Expanded from %s.variance.

function.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

generator.keyTypeanalyse/types/generator

Merged with YieldTypeRule, InvalidGeneratorReturnType, InvalidYieldKeyType and 6 others (see the rule's Replaces section).

generator.nonIterableanalyse/types/yield-from-non-iterable

Merged with YieldFromTypeRule, YieldFromNonIterable, generator.sendType.

generator.outOfFunctionanalyse/types/yield-outside-function

Merged with YieldInGeneratorRule, YieldOutsideFunction, generator.returnType.

generator.returnTypeanalyse/types/yield-outside-function

Merged with YieldInGeneratorRule, YieldOutsideFunction, generator.outOfFunction.

generator.sendTypeanalyse/types/yield-from-non-iterable

Merged with YieldFromTypeRule, YieldFromNonIterable, generator.nonIterable.

generator.valueTypeanalyse/types/generator

Merged with YieldTypeRule, InvalidGeneratorReturnType, InvalidYieldKeyType and 6 others (see the rule's Replaces section).

generator.voidanalyse/types/generator

Merged with YieldTypeRule, InvalidGeneratorReturnType, InvalidYieldKeyType and 6 others (see the rule's Replaces section).

generics.callSiteVarianceConflictanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceNotAllowed and 12 others (see the rule's Replaces section).

generics.callSiteVarianceNotAllowedanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.callSiteVarianceRedundantanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.existingClassanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingTypeAlias, generics.notSupportedBound and 3 others (see the rule's Replaces section).

generics.existingTypeAliasanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingClass, generics.notSupportedBound and 3 others (see the rule's Replaces section).

generics.interfaceConflictanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.lessTypesanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.moreTypesanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.noParentanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.notCompatibleanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.notGenericanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.notSubtypeanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.notSupportedBoundanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingClass, generics.existingTypeAlias and 3 others (see the rule's Replaces section).

generics.requiredTypeAfterOptionalanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingClass, generics.existingTypeAlias and 3 others (see the rule's Replaces section).

generics.templateDefaultOutOfBoundsanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingClass, generics.existingTypeAlias and 3 others (see the rule's Replaces section).

generics.traitanalyse/types/invalid-trait-use-generics

Merged with UsedTraitsRule.

generics.traitBoundanalyse/types/invalid-class-template

Merged with ClassTemplateTypeRule, generics.existingClass, generics.existingTypeAlias and 3 others (see the rule's Replaces section).

generics.unresolvableanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.varianceanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

generics.wrongParentanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section).

global.thisanalyse/types/this-in-global

Merged with ThisInGlobalStatementRule.

goto.labelUndefinedanalyse/undefined/goto-label

Merged with GotoUndefinedLabelRule.

greater.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

greater.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

greater.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

greaterOrEqual.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

greaterOrEqual.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

greaterOrEqual.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

identical.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

identical.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

if.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

if.alwaysTruelint/dead-code/no-always-true-if

Merged with RemoveAlwaysTrueIfCondition, booleanAnd.leftAlwaysTrue.

if.condNotBooleanphpstan-strict-rulesanalyse/control-flow/non-boolean-condition

Merged with BooleanInIfConditionRule.

ignore.parseErroranalyse/comments/invalid-ignore

Merged with IgnoreParseErrorRule.

impure.betweenPhpTagsanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.die, impure.echo and 50 others (see the rule's Replaces section).

impure.dieanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.echo and 50 others (see the rule's Replaces section).

impure.echoanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.evalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.exitanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.functionCallanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.globalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.includeanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.methodCallanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.newanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.printanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.propertyAssignanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.propertyAssignByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.propertyUnsetanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.requireanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.staticanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.staticPropertyAccessanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.superglobalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.yieldanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impure.yieldFromanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

impureFunction.pureanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from impure%s.pure.

impureMethod.pureanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from impure%s.pure.

impurePropertyHook.pureanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from impure%s.pure.

include.fileNotFoundanalyse/undefined/include-file

Merged with RequireFileExistsRule, includeOnce.fileNotFound, require.fileNotFound and 1 others (see the rule's Replaces section).

includeOnce.fileNotFoundanalyse/undefined/include-file

Merged with RequireFileExistsRule, include.fileNotFound, require.fileNotFound and 1 others (see the rule's Replaces section).

instanceof.alwaysFalseanalyse/dead-code/impossible-instanceof

Merged with ImpossibleInstanceOfRule, instanceof.invalidExprType.

instanceof.alwaysTruelint/dead-code/no-always-true-instanceof

Merged with RemoveDeadInstanceOf, RemoveDeadInstanceOfAssert.

instanceof.deprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

instanceof.deprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

instanceof.deprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

instanceof.deprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

instanceof.internalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

instanceof.internalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

instanceof.internalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

instanceof.internalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

instanceof.invalidExprTypeanalyse/dead-code/impossible-instanceof

Merged with ImpossibleInstanceOfRule, instanceof.alwaysFalse.

instanceof.traitanalyse/undefined/instanceof-class

Merged with ExistingClassInInstanceOfRule, ParentOutsideClassScope, SelfOutsideClassScope and 4 others (see the rule's Replaces section).

interface.allowDynamicPropertiesanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, class.deprecatedAttribute and 4 others (see the rule's Replaces section).

interface.deprecatedAttributeanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, class.deprecatedAttribute and 4 others (see the rule's Replaces section). Expanded from %s.deprecatedAttribute.

interface.disallowedSubtypeanalyse/classes/disallowed-subtype

Merged with AllowedSubTypesRule, class.disallowedSubtype, enum.disallowedSubtype and 1 others (see the rule's Replaces section). Expanded from %s.disallowedSubtype.

interface.duplicateanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicate.

interface.duplicateConstantanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateConstant.

interface.duplicateEnumCaseanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateEnumCase.

interface.duplicateMethodanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateMethod.

interface.duplicatePropertyanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateProperty.

interface.extendsDeprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

interface.extendsDeprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

interface.extendsDeprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

interface.extendsDeprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

interface.extendsInternalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

interface.extendsInternalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

interface.extendsInternalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

interface.extendsInternalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

interface.nameCaseanalyse/undefined/group-import

Merged with ExistingNamesInGroupUseRule, checkClassCaseSensitivity, IncorrectClassLikeCasing and 5 others (see the rule's Replaces section). Expanded from %s.nameCase.

interface.nameInUseanalyse/imports/name-already-in-use

Merged with UsedNamesRule, NameAlreadyInUse, class.nameInUse and 3 others (see the rule's Replaces section). Expanded from %s.nameInUse.

interface.notFoundanalyse/classes/invalid-implements

Merged with ExistingClassesInClassImplementsRule, classImplements.class, classImplements.enum and 1 others (see the rule's Replaces section).

interface.traitUseanalyse/undefined/trait

Merged with ExistingClassInTraitUseRule, trait.notFound, traitUse.class and 2 others (see the rule's Replaces section).

interfaceExtends.classanalyse/classes/invalid-interface-extends

Merged with ExistingClassesInInterfaceExtendsRule, interfaceExtends.enum, interfaceExtends.trait.

interfaceExtends.enumanalyse/classes/invalid-interface-extends

Merged with ExistingClassesInInterfaceExtendsRule, interfaceExtends.class, interfaceExtends.trait.

interfaceExtends.traitanalyse/classes/invalid-interface-extends

Merged with ExistingClassesInInterfaceExtendsRule, interfaceExtends.class, interfaceExtends.enum.

isset.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

isset.initializedPropertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

isset.offsetanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.offset.

isset.propertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

isset.variableanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.variable.

label.unusedlint/complexity/no-unused-label

Merged with UnusedLabelRule, no-redundant-label.

logicalAnd.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

logicalAnd.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

logicalAnd.leftAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalAnd.leftAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalAnd.leftNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.leftNotBoolean.

logicalAnd.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section). Expanded from %s.resultUnused.

logicalAnd.rightAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

logicalAnd.rightAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

logicalAnd.rightNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.rightNotBoolean.

logicalOr.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

logicalOr.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

logicalOr.leftAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalOr.leftAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalOr.leftNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.leftNotBoolean.

logicalOr.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section). Expanded from %s.resultUnused.

logicalOr.rightAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

logicalOr.rightAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

logicalOr.rightNotBooleanphpstan-strict-rulesanalyse/operators/non-boolean-and-operand

Merged with BooleanInBooleanAndRule, booleanAnd.leftNotBoolean, booleanAnd.rightNotBoolean and 5 others (see the rule's Replaces section). Expanded from %s.rightNotBoolean.

logicalXor.leftAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalXor.leftAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.leftAlways%s.

logicalXor.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section).

logicalXor.rightAlwaysFalseanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

logicalXor.rightAlwaysTrueanalyse/dead-code/xor-always-constant

Merged with LogicalXorConstantConditionRule, booleanAnd.leftAlwaysFalse, booleanAnd.rightAlwaysFalse and 15 others (see the rule's Replaces section). Expanded from %s.rightAlways%s.

magicConstant.outOfClassanalyse/statements/magic-constant-out-of-context

Merged with MagicConstantContextRule, magicConstant.outOfFunction, magicConstant.outOfNamespace and 1 others (see the rule's Replaces section).

magicConstant.outOfFunctionanalyse/statements/magic-constant-out-of-context

Merged with MagicConstantContextRule, magicConstant.outOfClass, magicConstant.outOfNamespace and 1 others (see the rule's Replaces section).

magicConstant.outOfNamespaceanalyse/statements/magic-constant-out-of-context

Merged with MagicConstantContextRule, magicConstant.outOfClass, magicConstant.outOfFunction and 1 others (see the rule's Replaces section).

magicConstant.outOfTraitanalyse/statements/magic-constant-out-of-context

Merged with MagicConstantContextRule, magicConstant.outOfClass, magicConstant.outOfFunction and 1 others (see the rule's Replaces section).

match.alwaysFalseanalyse/control-flow/unhandled-match

Merged with MatchExpressionRule, MatchNotExhaustive, match.alwaysTrue and 1 others (see the rule's Replaces section).

match.alwaysTrueanalyse/control-flow/unhandled-match

Merged with MatchExpressionRule, MatchNotExhaustive, match.alwaysFalse and 1 others (see the rule's Replaces section).

match.unhandledanalyse/control-flow/unhandled-match

Merged with MatchExpressionRule, MatchNotExhaustive, match.alwaysFalse and 1 others (see the rule's Replaces section).

match.voidanalyse/types/void-match-used

Merged with UsageOfVoidMatchExpressionRule.

method.abstractanalyse/classes/abstract-method-in-concrete-class

Merged with AbstractMethodInNonAbstractClassRule, UnimplementedAbstractMethod, method.nonAbstract.

method.abstractOverridingNonAbstractanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.abstractPrivateanalyse/classes/abstract-private-method

Merged with AbstractPrivateMethodRule.

method.alreadyNarrowedTypeanalyse/dead-code/impossible-method-type-check

Merged with ImpossibleCheckTypeMethodCallRule, method.impossibleType.

method.callToAbstractanalyse/classes/invalid-static-method-callable

Merged with StaticMethodCallableRule, method.staticCall, staticMethod.callToAbstract and 2 others (see the rule's Replaces section). Expanded from %s.callToAbstract.

method.childParameterTypeanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.childReturnTypeanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.deprecatedphpstan-deprecation-rulesanalyse/deprecated/method

Merged with RestrictedDeprecatedMethodUsageExtension, DeprecatedMethod, staticMethod.deprecated.

method.deprecatedClassanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.deprecatedEnumanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.deprecatedInterfaceanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.deprecatedTraitanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.dynamicNamephpstan-strict-ruleslint/style/no-dynamic-method-call

Merged with VariableMethodCallRule.

method.finalPrivateanalyse/classes/final-private-method

Merged with FinalPrivateMethodRule.

method.impossibleTypeanalyse/dead-code/impossible-method-type-check

Merged with ImpossibleCheckTypeMethodCallRule, method.alreadyNarrowedType.

method.impureanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.impureOverridePureUnlessCallableanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.impureOverridePureUnlessParameterPassedanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.inVoidCastanalyse/dead-code/discarded-method-result

Merged with CallToMethodStatementWithNoDiscardRule, method.resultDiscarded.

method.internalanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.internalClassanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.internalEnumanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.internalInterfaceanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.internalTraitanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.missingOverrideanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.nameCaseanalyse/classes/invalid-method-callable

Merged with MethodCallableRule, MethodAccessOnNull, MixedMethodAccess and 3 others (see the rule's Replaces section).

method.nameNotStringanalyse/undefined/method

Merged with CallMethodsRule, checkThisOnly, reportMagicMethods and 3 others (see the rule's Replaces section).

method.nonAbstractanalyse/classes/abstract-method-in-concrete-class

Merged with AbstractMethodInNonAbstractClassRule, UnimplementedAbstractMethod, method.abstract.

method.nonObjectanalyse/classes/invalid-method-callable

Merged with MethodCallableRule, MethodAccessOnNull, MixedMethodAccess and 3 others (see the rule's Replaces section).

method.nonStaticanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.notFoundanalyse/undefined/method

Merged with CallMethodsRule, checkThisOnly, reportMagicMethods and 3 others (see the rule's Replaces section).

method.overrideanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.parentMethodFinalanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.parentMethodFinalByPhpDocanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.privateanalyse/classes/invalid-method-callable

Merged with MethodCallableRule, MethodAccessOnNull, MixedMethodAccess and 3 others (see the rule's Replaces section).

method.protectedanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section). Expanded from method.%s.

method.resultDiscardedanalyse/dead-code/discarded-method-result

Merged with CallToMethodStatementWithNoDiscardRule, method.inVoidCast.

method.resultUnusedanalyse/dead-code/unused-method-result

Merged with CallToMethodStatementWithoutImpurePointsRule.

method.shadowTemplateanalyse/types/invalid-method-template

Merged with MethodTemplateTypeRule.

method.staticanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.staticCallanalyse/classes/invalid-static-method-callable

Merged with StaticMethodCallableRule, method.callToAbstract, staticMethod.callToAbstract and 2 others (see the rule's Replaces section).

method.templateTypeNotInParameteranalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

method.tentativeReturnTypeanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

method.unusedlint/dead-code/no-unused-private-method

Merged with RemoveUnusedPrivateMethod, UnusedPrivateMethodRule, UnusedMethod.

method.unusedParameteranalyse/dead-code/unused-method-parameter

Merged with UnusedMethodParametersRule, method.unusedParameterFlow.

method.unusedParameterFlowanalyse/dead-code/unused-method-parameter

Merged with UnusedMethodParametersRule, method.unusedParameter.

method.varianceanalyse/types/invalid-class-generics

Merged with ClassAncestorsRule, function.variance, generics.callSiteVarianceConflict and 12 others (see the rule's Replaces section). Expanded from %s.variance.

method.visibilityanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

method.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

methodTag.shadowTemplateanalyse/types/invalid-method-tag-template

Merged with MethodTagTemplateTypeRule.

methodTag.traitanalyse/phpdoc/invalid-method-tag

Merged with MethodTagRule, methodTag.unresolvableType.

methodTag.unresolvableTypeanalyse/phpdoc/invalid-method-tag

Merged with MethodTagRule, methodTag.trait.

minus.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-subtraction

Merged with OperandsInArithmeticSubtractionRule, minus.rightNonNumeric.

minus.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-subtraction

Merged with OperandsInArithmeticSubtractionRule, minus.leftNonNumeric.

missingType.callableanalyse/types/missing-constant-type

Merged with MissingClassConstantTypehintRule, checkMissingVarTagTypehint, missingType.generics and 1 others (see the rule's Replaces section).

missingType.checkedExceptionanalyse/types/missing-throws

Merged with MissingCheckedExceptionInFunctionThrowsRule, UnhandledThrownType.

missingType.genericsanalyse/types/missing-constant-type

Merged with MissingClassConstantTypehintRule, checkMissingVarTagTypehint, missingType.callable and 1 others (see the rule's Replaces section).

missingType.iterableValueanalyse/types/missing-constant-type

Merged with MissingClassConstantTypehintRule, checkMissingVarTagTypehint, missingType.callable and 1 others (see the rule's Replaces section).

missingType.parameteranalyse/types/missing-param-type

Merged with MissingFunctionParameterTypehintRule, MissingParameterType.

missingType.propertyanalyse/types/missing-property-type

Merged with MissingPropertyTypehintRule, MissingPropertyType.

missingType.returnanalyse/types/missing-return-type

Merged with MissingFunctionReturnTypehintRule, checkMissingTypehints, MissingReturnType.

mixin.nonObjectanalyse/phpdoc/invalid-mixin-tag

Merged with MixinRule, mixin.trait, mixin.unresolvableType.

mixin.traitanalyse/phpdoc/invalid-mixin-tag

Merged with MixinRule, mixin.nonObject, mixin.unresolvableType.

mixin.unresolvableTypeanalyse/phpdoc/invalid-mixin-tag

Merged with MixinRule, mixin.nonObject, mixin.trait.

mod.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-modulo

Merged with OperandsInArithmeticModuloRule, mod.rightNonNumeric.

mod.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-modulo

Merged with OperandsInArithmeticModuloRule, mod.leftNonNumeric.

mul.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-multiplication

Merged with OperandsInArithmeticMultiplicationRule, mul.rightNonNumeric.

mul.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-multiplication

Merged with OperandsInArithmeticMultiplicationRule, mul.leftNonNumeric.

new.abstractanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.dateIntervalanalyse/strings/invalid-date-interval

Merged with DateIntervalInstantiationRule.

new.dateTimeanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Expanded from new.%s. Planned: not ported yet.

new.dateTimeImmutableanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Expanded from new.%s. Planned: not ported yet.

new.enumanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.interfaceanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.noConstructoranalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.nonObjectanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.privateConstructoranalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Expanded from new.%s. Planned: not ported yet.

new.protectedConstructoranalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Expanded from new.%s. Planned: not ported yet.

new.resultUnusedanalyse/dead-code/unused-new-result

Merged with CallToConstructorStatementWithoutImpurePointsRule.

new.staticanalyse/classes/unsafe-new-static

Merged with NewStaticRule, UnsafeInstantiation.

new.staticInAbstractClassStaticMethodanalyse/classes/new-static-in-abstract

Merged with NewStaticInAbstractClassStaticMethodRule.

new.traitanalyse/classes/invalid-new

Merged with InstantiationRule, AbstractInstantiation, EnumInstantiation and 12 others (see the rule's Replaces section). Planned: not ported yet.

new.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

new.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

notEqual.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

notEqual.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

notEqual.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

notEqual.notAllowedphpstan-strict-ruleslint/operators/no-loose-equality

Merged with DisallowedLooseComparisonRule, equal.notAllowed.

notIdentical.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

notIdentical.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

nullCoalesce.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

nullCoalesce.initializedPropertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

nullCoalesce.offsetanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.offset.

nullCoalesce.propertyanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section).

nullCoalesce.unnecessaryanalyse/dead-code/redundant-null-coalesce

Merged with NullCoalesceRule, RedundantNullCoalesce.

nullCoalesce.variableanalyse/statements/invalid-empty

Merged with EmptyRule, checkAdvancedIsset, RedundantIssetCheck and 11 others (see the rule's Replaces section). Expanded from %s.variable.

nullableType.mixedanalyse/types/invalid-union-type

Merged with InvalidTypesInUnionRule, nullableType.never, unionType.mixed and 1 others (see the rule's Replaces section). Expanded from nullableType.%s.

nullableType.neveranalyse/types/invalid-union-type

Merged with InvalidTypesInUnionRule, nullableType.mixed, unionType.mixed and 1 others (see the rule's Replaces section). Expanded from nullableType.%s.

nullableType.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

nullsafe.assignanalyse/types/invalid-assignment-target

Merged with InvalidAssignVarRule, InvalidAssignment, assign.invalidExpr and 1 others (see the rule's Replaces section).

nullsafe.byRefanalyse/types/invalid-assignment-target

Merged with InvalidAssignVarRule, InvalidAssignment, assign.invalidExpr and 1 others (see the rule's Replaces section).

nullsafe.neverNulllint/complexity/no-redundant-nullsafe

Merged with Pun/no_redundant_nullsafe, NullsafeMethodCallRule, NullsafePropertyFetchRule and 2 others (see the rule's Replaces section).

offsetAccess.invalidOffsetanalyse/types/invalid-offset

Merged with InvalidKeyInArrayDimFetchRule, InvalidArrayIndex, MixedArrayIndex and 3 others (see the rule's Replaces section).

offsetAccess.noDimanalyse/arrays/read-without-offset

Merged with OffsetAccessWithoutDimForReadingRule, ArrayAppendInReadContext.

offsetAccess.nonArrayanalyse/arrays/invalid-destructuring

Merged with ArrayDestructuringRule, FalseArrayAccess, InvalidArrayAccess and 5 others (see the rule's Replaces section).

offsetAccess.nonOffsetAccessibleanalyse/undefined/offset

Merged with NonexistentOffsetInArrayDimFetchRule, PossiblyUndefinedArrayIndex, PossiblyUndefinedIntArrayIndex and 4 others (see the rule's Replaces section).

offsetAccess.notFoundanalyse/undefined/offset

Merged with NonexistentOffsetInArrayDimFetchRule, PossiblyUndefinedArrayIndex, PossiblyUndefinedIntArrayIndex and 4 others (see the rule's Replaces section).

offsetAssign.dimTypeanalyse/types/offset-assign

Merged with OffsetAccessAssignmentRule.

offsetAssign.valueTypeanalyse/types/offset-assign-value

Merged with OffsetAccessValueAssignmentRule.

outOfClass.parentanalyse/undefined/instanceof-class

Merged with ExistingClassInInstanceOfRule, ParentOutsideClassScope, SelfOutsideClassScope and 4 others (see the rule's Replaces section).

outOfClass.selfanalyse/undefined/instanceof-class

Merged with ExistingClassInInstanceOfRule, ParentOutsideClassScope, SelfOutsideClassScope and 4 others (see the rule's Replaces section).

outOfClass.staticanalyse/undefined/instanceof-class

Merged with ExistingClassInInstanceOfRule, ParentOutsideClassScope, SelfOutsideClassScope and 4 others (see the rule's Replaces section).

paramClosureThis.nonClosureanalyse/phpdoc/type-mismatch

Merged with IncompatiblePhpDocTypeRule, DocblockTypeMismatch, parameter.phpDocType and 3 others (see the rule's Replaces section).

paramImmediatelyInvokedCallable.nonCallableanalyse/phpdoc/invalid-param-callable-tag

Merged with IncompatibleParamImmediatelyInvokedCallableRule, InvalidCallable, paramLaterInvokedCallable.nonCallable and 1 others (see the rule's Replaces section). Expanded from %s.nonCallable.

paramLaterInvokedCallable.nonCallableanalyse/phpdoc/invalid-param-callable-tag

Merged with IncompatibleParamImmediatelyInvokedCallableRule, InvalidCallable, paramImmediatelyInvokedCallable.nonCallable and 1 others (see the rule's Replaces section). Expanded from %s.nonCallable.

paramOut.nestedUnusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.tooWideBool and 9 others (see the rule's Replaces section). Expanded from %s.nestedUnusedType.

paramOut.tooWideBoolanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.tooWideBool.

paramOut.typeanalyse/types/param-out

Merged with ParameterOutAssignedTypeRule.

paramOut.unusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.unusedType.

parameter.byRefanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.defaultValueanalyse/types/param-default

Merged with Functions\IncompatibleDefaultParameterTypeRule, InvalidParameterDefaultValue.

parameter.deprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

parameter.deprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

parameter.deprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

parameter.deprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

parameter.duplicateanalyse/functions/duplicate-parameter

Merged with RedefinedParametersRule.

parameter.implicitlyNullableformat/types/nullable-for-null-default

Merged with nullable_type_declaration_for_default_null_value, ExplicitNullableParamType, explicit-nullable-param.

parameter.internalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

parameter.internalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

parameter.internalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

parameter.internalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

parameter.missinganalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.noParentanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

parameter.notByRefanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.notFoundanalyse/phpdoc/invalid-param-callable-tag

Merged with IncompatibleParamImmediatelyInvokedCallableRule, InvalidCallable, paramImmediatelyInvokedCallable.nonCallable and 1 others (see the rule's Replaces section).

parameter.notOptionalanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.notVariadicanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.phpDocTypeanalyse/phpdoc/type-mismatch

Merged with IncompatiblePhpDocTypeRule, DocblockTypeMismatch, paramClosureThis.nonClosure and 3 others (see the rule's Replaces section).

parameter.requiredAfterOptionallint/functions/no-required-after-optional

Merged with OptionalParametersAfterRequired, optional-param-order.

parameter.superglobalanalyse/functions/invalid-parameter-name

Merged with InvalidParameterNameRule, parameter.this.

parameter.thisanalyse/functions/invalid-parameter-name

Merged with InvalidParameterNameRule, parameter.superglobal.

parameter.traitanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

parameter.unionTypeNotSupportedanalyse/types/invalid-arrow-function-signature

Merged with ExistingClassesInArrowFunctionTypehintsRule, return.neverTypeNotSupported, return.unionTypeNotSupported.

parameter.unresolvableNativeTypeanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

parameter.unresolvableTypeanalyse/phpdoc/type-mismatch

Merged with IncompatiblePhpDocTypeRule, DocblockTypeMismatch, paramClosureThis.nonClosure and 3 others (see the rule's Replaces section).

parameter.variadicanalyse/classes/incompatible-override

Merged with OverridingMethodRule, checkPhpDocMethodSignatures, ImpureConstruct and 48 others (see the rule's Replaces section).

parameter.variadicNotLastanalyse/functions/variadic-not-last

Merged with VariadicParametersDeclarationRule.

parameterByRef.nestedUnusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.nestedUnusedType.

parameterByRef.tooWideBoolanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.tooWideBool.

parameterByRef.typeanalyse/types/invalid-inc-dec

Merged with InvalidIncDecOperationRule, postDec.type, postInc.type and 2 others (see the rule's Replaces section). Expanded from %s.type.

parameterByRef.unusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.unusedType.

phpDoc.parseErroranalyse/phpdoc/invalid

Merged with InvalidPhpDocTagValueRule, InvalidDocblock.

phpDoc.phpstanTaganalyse/phpdoc/invalid-phpstan-tag

Merged with InvalidPHPStanDocTagRule.

phpParser.classRenamedNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpParser.nodeConnectingAttributeNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstan.debugScopeanalyse/debug/dump-scope

Merged with DebugScopeRule. Planned: not ported yet.

phpstan.dumpNativeTypeanalyse/debug/dump-native-type

Merged with DumpNativeTypeRule. Planned: not ported yet.

phpstan.dumpPhpDocTypeanalyse/debug/dump-phpdoc-type

Merged with DumpPhpDocTypeRule.

phpstan.dumpTypeanalyse/debug/dump-type

Merged with DumpTypeRule, PsalmTrace, TypeInspection.

phpstan.nativeTypeanalyse/debug/assert-type

Merged with FileAssertRule, phpstan.superType, phpstan.type and 2 others (see the rule's Replaces section).

phpstan.superTypeanalyse/debug/assert-type

Merged with FileAssertRule, phpstan.nativeType, phpstan.type and 2 others (see the rule's Replaces section).

phpstan.typeanalyse/debug/assert-type

Merged with FileAssertRule, phpstan.nativeType, phpstan.superType and 2 others (see the rule's Replaces section).

phpstan.unknownExpectationanalyse/debug/assert-type

Merged with FileAssertRule, phpstan.nativeType, phpstan.superType and 2 others (see the rule's Replaces section).

phpstan.variableanalyse/debug/assert-type

Merged with FileAssertRule, phpstan.nativeType, phpstan.superType and 2 others (see the rule's Replaces section).

phpstanApi.classNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.classConstantNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.constructorNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.enumNot supported

PHPStan extension-API checks; Pun has no PHP extension API Expanded from phpstanApi.%s.

phpstanApi.getTemplateTypeNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.instanceofAssumptionNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.instanceofTypeNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.interfaceNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.methodNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.phpstanNamespaceNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.runtimeReflectionNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.traitNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanApi.varTagAssumptionNot supported

PHPStan extension-API checks; Pun has no PHP extension API

phpstanPlayground.arrayDimFetchCastNot supported

phpstan.org playground only

phpstanPlayground.arrayKeyCastNot supported

phpstan.org playground only

phpstanPlayground.configParameterNot supported

phpstan.org playground only

phpstanPlayground.neverNot supported

phpstan.org playground only

phpstanPlayground.noPhpNot supported

phpstan.org playground only

phpstanPlayground.phpDocNot supported

phpstan.org playground only

phpstanPlayground.traitUnusedNot supported

phpstan.org playground only

pipe.byRefanalyse/types/invalid-pipe

Merged with PipeOperatorRule, NonExistentCatchType, NonExistentClass and 1 others (see the rule's Replaces section).

plus.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-addition

Merged with OperandsInArithmeticAdditionRule, plus.rightNonNumeric.

plus.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-addition

Merged with OperandsInArithmeticAdditionRule, plus.leftNonNumeric.

possiblyImpure.betweenPhpTagsanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.dieanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.echoanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.evalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.exitanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.functionCallanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.globalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.includeanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.methodCallanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.newanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.printanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.propertyAssignanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.propertyAssignByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.propertyUnsetanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.requireanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.staticanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.staticPropertyAccessanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.superglobalanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.yieldanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

possiblyImpure.yieldFromanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

postDec.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

postDec.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-minus

Merged with OperandInArithmeticUnaryMinusRule, postInc.nonNumeric, preDec.nonNumeric and 2 others (see the rule's Replaces section). Expanded from %s.nonNumeric.

postDec.overwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

postDec.typeanalyse/types/invalid-inc-dec

Merged with InvalidIncDecOperationRule, parameterByRef.type, postInc.type and 2 others (see the rule's Replaces section). Expanded from %s.type.

postDec.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

postDec.unusedFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

postInc.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

postInc.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-minus

Merged with OperandInArithmeticUnaryMinusRule, postDec.nonNumeric, preDec.nonNumeric and 2 others (see the rule's Replaces section). Expanded from %s.nonNumeric.

postInc.overwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

postInc.typeanalyse/types/invalid-inc-dec

Merged with InvalidIncDecOperationRule, parameterByRef.type, postDec.type and 2 others (see the rule's Replaces section). Expanded from %s.type.

postInc.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

postInc.unusedFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

pow.leftNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-exponentiation

Merged with OperandsInArithmeticExponentiationRule, pow.rightNonNumeric.

pow.rightNonNumericphpstan-strict-rulesanalyse/operators/non-numeric-exponentiation

Merged with OperandsInArithmeticExponentiationRule, pow.leftNonNumeric.

preDec.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

preDec.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-minus

Merged with OperandInArithmeticUnaryMinusRule, postDec.nonNumeric, postInc.nonNumeric and 2 others (see the rule's Replaces section). Expanded from %s.nonNumeric.

preDec.overwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

preDec.typeanalyse/types/invalid-inc-dec

Merged with InvalidIncDecOperationRule, parameterByRef.type, postDec.type and 2 others (see the rule's Replaces section). Expanded from %s.type.

preDec.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

preDec.unusedFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

preInc.expranalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.expr.

preInc.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-minus

Merged with OperandInArithmeticUnaryMinusRule, postDec.nonNumeric, postInc.nonNumeric and 2 others (see the rule's Replaces section). Expanded from %s.nonNumeric.

preInc.overwrittenanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

preInc.typeanalyse/types/invalid-inc-dec

Merged with InvalidIncDecOperationRule, parameterByRef.type, postDec.type and 2 others (see the rule's Replaces section). Expanded from %s.type.

preInc.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

preInc.unusedFlowanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

print.nonStringanalyse/types/print-non-string

Merged with PrintRule.

property.abstractanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstractFinal, property.abstractNonHooked and 11 others (see the rule's Replaces section).

property.abstractFinalanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractNonHooked and 11 others (see the rule's Replaces section).

property.abstractFinalHookanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractInInterface, property.finalInInterface and 5 others (see the rule's Replaces section).

property.abstractInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.finalInInterface and 5 others (see the rule's Replaces section).

property.abstractNonHookedanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.abstractOverridingNonAbstractHookanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.abstractPrivateanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.abstractWithoutAbstractHookanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.assignByRefanalyse/types/invalid-property-assignment

Merged with PropertyAssignRefRule, assign.propertyPrivateSet, assign.propertyProtectedSet.

property.callableTypeanalyse/classes/callable-property-type

Merged with InvalidCallablePropertyTypeRule.

property.defaultValueanalyse/types/property-default

Merged with DefaultValueTypesAssignedToPropertiesRule, IncompatiblePropertyDefault, InvalidPropertyDefaultValue.

property.deprecatedphpstan-deprecation-rulesanalyse/deprecated/property

Merged with RestrictedDeprecatedPropertyUsageExtension, DeprecatedProperty, staticProperty.deprecated.

property.deprecatedClassanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.deprecatedEnumanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.deprecatedInterfaceanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.deprecatedTraitanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.dynamicNamephpstan-strict-ruleslint/style/no-dynamic-property

Merged with VariablePropertyFetchRule.

property.extraNativeTypeanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.finalanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.finalInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.finalPrivateanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.finalPrivateHookanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.hookBodyInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.hookReadOnlyanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.hookWithoutBodyanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.hookedStaticanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.hooksNotSupportedanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.inInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.internalanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.internalClassanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.internalEnumanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.internalInterfaceanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.internalTraitanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.invalidPromotedanalyse/classes/invalid-promoted-property

Merged with InvalidPromotedPropertiesRule, property.promotedNotSupported.

property.missingNativeTypeanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.missingOverridelint/refactor/add-override-attribute

Merged with AddOverrideAttributeToOverriddenProperties.

property.nameNotStringanalyse/undefined/assigned-property

Merged with AccessPropertiesInAssignRule, InvalidPropertyAccess, MixedPropertyAccess and 5 others (see the rule's Replaces section).

property.nativeTypeanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.nestedUnusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section).

property.neverReadanalyse/dead-code/unused-private-property

Merged with UnusedPrivatePropertyRule, UnusedProperty, WriteOnlyProperty and 2 others (see the rule's Replaces section).

property.neverWrittenanalyse/dead-code/unused-private-property

Merged with UnusedPrivatePropertyRule, UnusedProperty, WriteOnlyProperty and 2 others (see the rule's Replaces section).

property.nonHookedInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.nonObjectanalyse/undefined/assigned-property

Merged with AccessPropertiesInAssignRule, InvalidPropertyAccess, MixedPropertyAccess and 5 others (see the rule's Replaces section).

property.nonPublicInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.nonStaticanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.notFoundanalyse/undefined/property

Merged with AccessPropertiesRule, reportMagicProperties, NonExistentProperty and 1 others (see the rule's Replaces section).

property.notReadableanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.notWritableanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.onlyReadanalyse/dead-code/unused-private-property

Merged with UnusedPrivatePropertyRule, UnusedProperty, WriteOnlyProperty and 2 others (see the rule's Replaces section).

property.onlyWrittenlint/dead-code/no-unused-private-property

Merged with RemoveUnusedPrivateProperty, property.unused.

property.overrideanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.overrideAttributeanalyse/attributes/invalid-property-attribute

Merged with PropertyAttributesRule.

property.parentPropertyFinalanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.parentPropertyFinalByPhpDocanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.phpDocTypeanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.privateanalyse/undefined/assigned-property

Merged with AccessPropertiesInAssignRule, InvalidPropertyAccess, MixedPropertyAccess and 5 others (see the rule's Replaces section).

property.promotedNotSupportedanalyse/classes/invalid-promoted-property

Merged with InvalidPromotedPropertiesRule, property.invalidPromoted.

property.protectedanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section). Expanded from property.%s.

property.readOnlyanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.readOnlyAssignByRefanalyse/types/readonly-property-by-ref

Merged with ReadOnlyPropertyAssignRefRule.

property.readOnlyAssignNotInConstructoranalyse/types/readonly-property-write

Merged with ReadOnlyPropertyAssignRule, assign.readOnlyProperty, property.readOnlyAssignNotOnThis and 1 others (see the rule's Replaces section).

property.readOnlyAssignNotOnThisanalyse/types/readonly-property-write

Merged with ReadOnlyPropertyAssignRule, assign.readOnlyProperty, property.readOnlyAssignNotInConstructor and 1 others (see the rule's Replaces section).

property.readOnlyAssignOutOfClassanalyse/types/readonly-property-write

Merged with ReadOnlyPropertyAssignRule, assign.readOnlyProperty, property.readOnlyAssignNotInConstructor and 1 others (see the rule's Replaces section).

property.readOnlyByPhpDocAssignByRefanalyse/types/phpdoc-readonly-by-ref

Merged with ReadOnlyByPhpDocPropertyAssignRefRule.

property.readOnlyByPhpDocAssignNotInConstructoranalyse/types/phpdoc-readonly-property-write

Merged with ReadOnlyByPhpDocPropertyAssignRule, property.readOnlyByPhpDocAssignNotOnThis, property.readOnlyByPhpDocAssignOutOfClass.

property.readOnlyByPhpDocAssignNotOnThisanalyse/types/phpdoc-readonly-property-write

Merged with ReadOnlyByPhpDocPropertyAssignRule, property.readOnlyByPhpDocAssignNotInConstructor, property.readOnlyByPhpDocAssignOutOfClass.

property.readOnlyByPhpDocAssignOutOfClassanalyse/types/phpdoc-readonly-property-write

Merged with ReadOnlyByPhpDocPropertyAssignRule, property.readOnlyByPhpDocAssignNotInConstructor, property.readOnlyByPhpDocAssignNotOnThis.

property.readOnlyByPhpDocDefaultValueanalyse/classes/invalid-phpdoc-readonly

Merged with ReadOnlyByPhpDocPropertyRule.

property.readOnlyDefaultValueanalyse/classes/invalid-readonly-property

Merged with ReadOnlyPropertyRule, property.readOnlyNoNativeType, property.readOnlyNotSupported and 1 others (see the rule's Replaces section).

property.readOnlyInInterfaceanalyse/classes/invalid-interface-property

Merged with PropertiesInInterfaceRule, property.abstractFinalHook, property.abstractInInterface and 5 others (see the rule's Replaces section).

property.readOnlyNoNativeTypeanalyse/classes/invalid-readonly-property

Merged with ReadOnlyPropertyRule, property.readOnlyDefaultValue, property.readOnlyNotSupported and 1 others (see the rule's Replaces section).

property.readOnlyNotSupportedanalyse/classes/invalid-readonly-property

Merged with ReadOnlyPropertyRule, property.readOnlyDefaultValue, property.readOnlyNoNativeType and 1 others (see the rule's Replaces section).

property.readOnlyStaticanalyse/classes/invalid-readonly-property

Merged with ReadOnlyPropertyRule, property.readOnlyDefaultValue, property.readOnlyNoNativeType and 1 others (see the rule's Replaces section).

property.readWriteanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.staticanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.staticAccessanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyPrivateSet, assign.staticPropertyProtectedSet and 3 others (see the rule's Replaces section).

property.staticAsymmetricVisibilityanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.tooWideBoolanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.tooWideBool.

property.traitanalyse/types/invalid-property-type

Merged with ExistingClassesInPropertiesRule, property.unresolvableNativeType.

property.uninitializedanalyse/classes/uninitialized-property

Merged with UninitializedPropertyRule, MissingConstructor, UninitializedProperty.

property.uninitializedReadonlyanalyse/classes/uninitialized-readonly

Merged with MissingReadOnlyPropertyAssignRule.

property.uninitializedReadonlyByPhpDocanalyse/classes/uninitialized-phpdoc-readonly

Merged with MissingReadOnlyByPhpDocPropertyAssignRule, assign.readOnlyPropertyByPhpDoc.

property.unresolvableNativeTypeanalyse/types/invalid-property-type

Merged with ExistingClassesInPropertiesRule, property.trait.

property.unresolvableTypeanalyse/phpdoc/property-type-mismatch

Merged with IncompatiblePropertyPhpDocTypeRule, callable.shadowTemplate.

property.unusedlint/dead-code/no-unused-private-property

Merged with RemoveUnusedPrivateProperty, property.onlyWritten.

property.unusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.unusedType.

property.virtualDefaultanalyse/classes/invalid-property-declaration

Merged with PropertyInClassRule, property.abstract, property.abstractFinal and 11 others (see the rule's Replaces section).

property.visibilityanalyse/classes/incompatible-property-override

Merged with OverridingPropertyRule, IncompatiblePropertyAccess, InvalidOverrideAttribute and 26 others (see the rule's Replaces section).

property.writeOnlyanalyse/classes/read-write-only-property

Merged with ReadingWriteOnlyPropertiesRule.

propertyGetHook.noReadanalyse/classes/get-hook-without-read

Merged with GetNonVirtualPropertyHookReadRule.

propertySetHook.nativeParameterTypeanalyse/classes/invalid-property-hook

Merged with SetPropertyHookParameterRule, IncompatiblePropertyHookParameterType, propertySetHook.parameterType.

propertySetHook.noAssignanalyse/classes/set-hook-without-assign

Merged with SetNonVirtualPropertyHookAssignRule.

propertySetHook.parameterTypeanalyse/classes/invalid-property-hook

Merged with SetPropertyHookParameterRule, IncompatiblePropertyHookParameterType, propertySetHook.nativeParameterType.

propertyTag.traitanalyse/phpdoc/invalid-property-tag

Merged with PropertyTagRule, propertyTag.unresolvableType.

propertyTag.unresolvableTypeanalyse/phpdoc/invalid-property-tag

Merged with PropertyTagRule, propertyTag.trait.

pureFunction.nonOptionalParameterPassedanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.nonOptionalParameterPassed.

pureFunction.parameterByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterByRef.

pureFunction.parameterPassedNotByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterPassedNotByRef.

pureFunction.redundantUnlessCallableanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.redundantUnlessCallable.

pureFunction.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

pureMethod.nonOptionalParameterPassedanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.nonOptionalParameterPassed.

pureMethod.parameterByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterByRef.

pureMethod.parameterPassedNotByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterPassedNotByRef.

pureMethod.redundantUnlessCallableanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.redundantUnlessCallable.

pureMethod.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

purePropertyHook.nonOptionalParameterPassedanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.nonOptionalParameterPassed.

purePropertyHook.parameterByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterByRef.

purePropertyHook.parameterPassedNotByRefanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.parameterPassedNotByRef.

purePropertyHook.redundantUnlessCallableanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section). Expanded from pure%s.redundantUnlessCallable.

purePropertyHook.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

regexp.patternanalyse/types/invalid-regex

Merged with RegularExpressionPatternRule.

require.fileNotFoundanalyse/undefined/include-file

Merged with RequireFileExistsRule, include.fileNotFound, includeOnce.fileNotFound and 1 others (see the rule's Replaces section).

requireExtends.classanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.duplicate, requireExtends.enum and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.duplicateanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.enum and 16 others (see the rule's Replaces section).

requireExtends.enumanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.finalClassanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section).

requireExtends.interfaceanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section).

requireExtends.nonObjectanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section).

requireExtends.onClassanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.onEnumanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.onInterfaceanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.onTraitanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireExtends.traitanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireExtends.%s.

requireImplements.classanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.enumanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.interfaceanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.nonObjectanalyse/phpdoc/invalid-trait-require-implements

Merged with RequireImplementsDefinitionTraitRule.

requireImplements.onClassanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.onEnumanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.onInterfaceanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.onTraitanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireImplements.traitanalyse/phpdoc/invalid-require-tag

Merged with RequireExtendsDefinitionClassRule, requireExtends.class, requireExtends.duplicate and 16 others (see the rule's Replaces section). Expanded from requireImplements.%s.

requireOnce.fileNotFoundanalyse/undefined/include-file

Merged with RequireFileExistsRule, include.fileNotFound, includeOnce.fileNotFound and 1 others (see the rule's Replaces section).

return.byRefFinallyanalyse/types/return-by-ref-finally

Merged with ReturnTypeAfterFinallyRule. Planned: not ported yet.

return.deprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

return.deprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

return.deprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

return.deprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

return.emptyanalyse/types/arrow-function-return

Merged with ArrowFunctionReturnTypeRule, return.void.

return.internalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

return.internalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

return.internalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

return.internalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

return.missinganalyse/types/missing-return

Merged with MissingReturnRule, checkPhpDocMissingReturn, MissingReturnStatement and 2 others (see the rule's Replaces section).

return.nestedUnusedTypeanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section).

return.neveranalyse/types/missing-return

Merged with MissingReturnRule, checkPhpDocMissingReturn, MissingReturnStatement and 2 others (see the rule's Replaces section).

return.neverTypeNotSupportedanalyse/types/invalid-arrow-function-signature

Merged with ExistingClassesInArrowFunctionTypehintsRule, parameter.unionTypeNotSupported, return.unionTypeNotSupported.

return.noParentanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

return.phpDocTypeanalyse/phpdoc/type-mismatch

Merged with IncompatiblePhpDocTypeRule, DocblockTypeMismatch, paramClosureThis.nonClosure and 3 others (see the rule's Replaces section).

return.tooWideBoolanalyse/types/too-wide-arrow-function-return

Merged with TooWideArrowFunctionReturnTypehintRule, OverlyWideReturnType, paramOut.nestedUnusedType and 9 others (see the rule's Replaces section). Expanded from %s.tooWideBool.

return.traitanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

return.typeanalyse/types/return

Merged with Methods\ReturnTypeRule, FalsableReturnStatement, InvalidReturnStatement and 3 others (see the rule's Replaces section).

return.unionTypeNotSupportedanalyse/types/invalid-arrow-function-signature

Merged with ExistingClassesInArrowFunctionTypehintsRule, parameter.unionTypeNotSupported, return.neverTypeNotSupported.

return.unresolvableNativeTypeanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

return.unresolvableTypeanalyse/phpdoc/type-mismatch

Merged with IncompatiblePhpDocTypeRule, DocblockTypeMismatch, paramClosureThis.nonClosure and 3 others (see the rule's Replaces section).

return.unusedTypelint/dead-code/no-unused-return-type

Merged with NarrowWideUnionReturnType.

return.voidanalyse/types/arrow-function-return

Merged with ArrowFunctionReturnTypeRule, return.empty.

sealed.nonObjectanalyse/phpdoc/invalid-sealed-tag

Merged with SealedDefinitionClassRule, sealed.onEnum.

sealed.onEnumanalyse/phpdoc/invalid-sealed-tag

Merged with SealedDefinitionClassRule, sealed.nonObject.

sealed.onTraitanalyse/phpdoc/sealed-on-trait

Merged with SealedDefinitionTraitRule.

selfOut.staticanalyse/types/invalid-self-out-tag

Merged with IncompatibleSelfOutTypeRule, selfOut.type, selfOut.unresolvableType.

selfOut.traitanalyse/types/invalid-closure-signature

Merged with ExistingClassesInClosureTypehintsRule, TraitInstantiation, attribute.target and 7 others (see the rule's Replaces section).

selfOut.typeanalyse/types/invalid-self-out-tag

Merged with IncompatibleSelfOutTypeRule, selfOut.static, selfOut.unresolvableType.

selfOut.unresolvableTypeanalyse/types/invalid-self-out-tag

Merged with IncompatibleSelfOutTypeRule, selfOut.static, selfOut.type.

smaller.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

smaller.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

smaller.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

smallerOrEqual.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

smallerOrEqual.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

smallerOrEqual.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

sortArray.emptyanalyse/dead-code/sort-without-effect

Merged with SortWithoutEffectRule, sortArray.list, sortArray.noop. Expanded from sortArray.%s.

sortArray.listanalyse/dead-code/sort-without-effect

Merged with SortWithoutEffectRule, sortArray.empty, sortArray.noop. Expanded from sortArray.%s.

sortArray.noopanalyse/dead-code/sort-without-effect

Merged with SortWithoutEffectRule, sortArray.empty, sortArray.list. Expanded from sortArray.%s.

spaceship.invalidanalyse/types/invalid-comparison

Merged with InvalidComparisonOperationRule, assignOp.invalid, binaryOp.invalid and 13 others (see the rule's Replaces section). Expanded from %s.invalid.

static.thisanalyse/types/this-in-static

Merged with ThisInStaticStatementRule.

staticClassAccess.privateConstantanalyse/classes/inaccessible-class-constant

Merged with AccessPrivateConstantThroughStaticRule.

staticClassAccess.privateMethodanalyse/classes/inaccessible-method

Merged with CallPrivateMethodThroughStaticRule.

staticClassAccess.privatePropertyanalyse/classes/inaccessible-property

Merged with AccessPrivatePropertyThroughStaticRule.

staticMethod.alreadyNarrowedTypeanalyse/dead-code/impossible-static-type-check

Merged with ImpossibleCheckTypeStaticMethodCallRule, staticMethod.impossibleType.

staticMethod.callToAbstractanalyse/classes/invalid-static-method-callable

Merged with StaticMethodCallableRule, method.callToAbstract, method.staticCall and 2 others (see the rule's Replaces section). Expanded from %s.callToAbstract.

staticMethod.deprecatedphpstan-deprecation-rulesanalyse/deprecated/method

Merged with RestrictedDeprecatedMethodUsageExtension, DeprecatedMethod, method.deprecated.

staticMethod.deprecatedClassanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedEnum, staticMethod.deprecatedInterface and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.deprecatedEnumanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedInterface and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.deprecatedInterfaceanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.deprecatedTraitanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.dynamicCallphpstan-strict-rulesanalyse/classes/dynamic-static-call

Merged with DynamicCallOnStaticMethodsRule, DynamicStaticMethodCall.

staticMethod.dynamicNamephpstan-strict-ruleslint/style/no-dynamic-static-call

Merged with VariableStaticMethodCallRule.

staticMethod.impossibleTypeanalyse/dead-code/impossible-static-type-check

Merged with ImpossibleCheckTypeStaticMethodCallRule, staticMethod.alreadyNarrowedType.

staticMethod.inVoidCastanalyse/dead-code/discarded-static-method-result

Merged with CallToStaticMethodStatementWithNoDiscardRule, staticMethod.resultDiscarded.

staticMethod.internalanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.internalClassanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.internalEnumanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.internalInterfaceanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.internalTraitanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.nameCaseanalyse/classes/invalid-static-method-callable

Merged with StaticMethodCallableRule, method.callToAbstract, method.staticCall and 2 others (see the rule's Replaces section).

staticMethod.nameNotStringanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section).

staticMethod.nonObjectanalyse/classes/invalid-static-method-callable

Merged with StaticMethodCallableRule, method.callToAbstract, method.staticCall and 2 others (see the rule's Replaces section).

staticMethod.notFoundanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section).

staticMethod.privateanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.protectedanalyse/undefined/static-method

Merged with CallStaticMethodsRule, staticMethod.deprecatedClass, staticMethod.deprecatedEnum and 10 others (see the rule's Replaces section). Expanded from staticMethod.%s.

staticMethod.resultDiscardedanalyse/dead-code/discarded-static-method-result

Merged with CallToStaticMethodStatementWithNoDiscardRule, staticMethod.inVoidCast.

staticMethod.resultUnusedanalyse/dead-code/unused-static-method-result

Merged with CallToStaticMethodStatementWithoutImpurePointsRule.

staticMethod.unresolvableReturnTypeanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.unresolvableReturnType.

staticMethod.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

staticProperty.deprecatedphpstan-deprecation-rulesanalyse/deprecated/property

Merged with RestrictedDeprecatedPropertyUsageExtension, DeprecatedProperty, property.deprecated.

staticProperty.deprecatedClassanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedEnum, staticProperty.deprecatedInterface and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.deprecatedEnumanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedInterface and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.deprecatedInterfaceanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.deprecatedTraitanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.dynamicNamephpstan-strict-ruleslint/style/no-dynamic-static-property

Merged with VariableStaticPropertyFetchRule.

staticProperty.internalanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.internalClassanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.internalEnumanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.internalInterfaceanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.internalTraitanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

staticProperty.nameNotStringanalyse/undefined/static-property

Merged with AccessStaticPropertiesRule, staticProperty.notFound.

staticProperty.nonObjectanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyPrivateSet, assign.staticPropertyProtectedSet and 3 others (see the rule's Replaces section).

staticProperty.nonStaticAccessanalyse/undefined/assigned-property

Merged with AccessPropertiesInAssignRule, InvalidPropertyAccess, MixedPropertyAccess and 5 others (see the rule's Replaces section).

staticProperty.notFoundanalyse/undefined/static-property

Merged with AccessStaticPropertiesRule, staticProperty.nameNotString.

staticProperty.privateanalyse/undefined/assigned-static-property

Merged with AccessStaticPropertiesInAssignRule, assign.staticPropertyPrivateSet, assign.staticPropertyProtectedSet and 3 others (see the rule's Replaces section).

staticProperty.protectedanalyse/classes/internal-static-property-access

Merged with RestrictedStaticPropertyUsageRule, staticProperty.deprecatedClass, staticProperty.deprecatedEnum and 7 others (see the rule's Replaces section). Expanded from staticProperty.%s.

switch.alwaysFalseanalyse/dead-code/switch-always-constant

Merged with SwitchConditionRule, switch.alwaysTrue, switch.duplicateCase.

switch.alwaysTrueanalyse/dead-code/switch-always-constant

Merged with SwitchConditionRule, switch.alwaysFalse, switch.duplicateCase.

switch.duplicateCaseanalyse/dead-code/switch-always-constant

Merged with SwitchConditionRule, switch.alwaysFalse, switch.alwaysTrue.

switch.typephpstan-strict-rulesanalyse/control-flow/switch-type-mismatch

Merged with MatchingTypeInSwitchCaseConditionRule.

ternary.alwaysFalseanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

ternary.alwaysTrueanalyse/dead-code/number-comparison-always-constant

Merged with NumberComparisonOperatorsConstantConditionRule, MatchArmAlwaysTrue, UnreachableElseClause and 38 others (see the rule's Replaces section). Expanded from %s.always%s.

ternary.condNotBooleanphpstan-strict-rulesanalyse/control-flow/non-boolean-ternary

Merged with BooleanInTernaryOperatorRule.

ternary.resultUnusedlint/dead-code/no-unused-expression

Merged with RemoveDeadStmt, NoopRule, UnusedFunctionCall and 8 others (see the rule's Replaces section).

ternary.shortNotAllowedphpstan-strict-ruleslint/style/no-short-ternary

Merged with DisallowedShortTernaryRule, no-shorthand-ternary.

throw.notSupportedanalyse/statements/throw-expression-not-supported

Merged with ThrowExpressionRule.

throw.notThrowableanalyse/types/throw-non-throwable

Merged with ThrowExprTypeRule, InvalidThrow.

throws.notCovariantanalyse/types/throws-not-covariant

Merged with MethodThrowTypeCovarianceRule, IncompatibleThrowType, throws.notCovariantWithImplicitVoid and 1 others (see the rule's Replaces section).

throws.notCovariantWithImplicitVoidanalyse/types/throws-not-covariant

Merged with MethodThrowTypeCovarianceRule, IncompatibleThrowType, throws.notCovariant and 1 others (see the rule's Replaces section).

throws.notThrowableanalyse/types/invalid-throws-tag

Merged with InvalidThrowsPhpDocValueRule.

throws.shouldBeVoidanalyse/types/throws-not-covariant

Merged with MethodThrowTypeCovarianceRule, IncompatibleThrowType, throws.notCovariant and 1 others (see the rule's Replaces section).

throws.unusedTypeanalyse/types/unused-throws-type

Merged with TooWideFunctionThrowTypeRule, TooWideThrowType.

throws.voidanalyse/types/throws-void-function

Merged with ThrowsVoidFunctionWithExplicitThrowPointRule.

trait.allowDynamicPropertiesanalyse/attributes/invalid-trait-attribute

Merged with TraitAttributesRule.

trait.deprecatedAttributeanalyse/attributes/invalid-class-attribute

Merged with ClassAttributesRule, class.allowDynamicPropertiesReadonly, class.deprecatedAttribute and 4 others (see the rule's Replaces section).

trait.disallowedSubtypeanalyse/classes/disallowed-subtype

Merged with AllowedSubTypesRule, class.disallowedSubtype, enum.disallowedSubtype and 1 others (see the rule's Replaces section). Expanded from %s.disallowedSubtype.

trait.duplicateanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicate.

trait.duplicateConstantanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateConstant.

trait.duplicateEnumCaseanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateEnumCase.

trait.duplicateMethodanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateMethod.

trait.duplicatePropertyanalyse/classes/duplicate-declaration

Merged with DuplicateDeclarationRule, DuplicateDefinition, class.duplicate and 19 others (see the rule's Replaces section). Expanded from %s.duplicateProperty.

trait.nameCaseanalyse/undefined/group-import

Merged with ExistingNamesInGroupUseRule, checkClassCaseSensitivity, IncorrectClassLikeCasing and 5 others (see the rule's Replaces section). Expanded from %s.nameCase.

trait.nameInUseanalyse/imports/name-already-in-use

Merged with UsedNamesRule, NameAlreadyInUse, class.nameInUse and 3 others (see the rule's Replaces section). Expanded from %s.nameInUse.

trait.notFoundanalyse/undefined/trait

Merged with ExistingClassInTraitUseRule, interface.traitUse, traitUse.class and 2 others (see the rule's Replaces section).

trait.unusedanalyse/dead-code/unused-trait

Merged with Traits\NotAnalysedTraitRule.

traitUse.classanalyse/undefined/trait

Merged with ExistingClassInTraitUseRule, interface.traitUse, trait.notFound and 2 others (see the rule's Replaces section).

traitUse.deprecatedClassphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

traitUse.deprecatedEnumphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

traitUse.deprecatedInterfacephpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

traitUse.deprecatedTraitphpstan-deprecation-rulesanalyse/deprecated/class

Merged with RestrictedDeprecatedClassNameUsageExtension, DeprecatedClass, catch.deprecatedClass and 35 others (see the rule's Replaces section).

traitUse.enumanalyse/undefined/trait

Merged with ExistingClassInTraitUseRule, interface.traitUse, trait.notFound and 2 others (see the rule's Replaces section).

traitUse.interfaceanalyse/undefined/trait

Merged with ExistingClassInTraitUseRule, interface.traitUse, trait.notFound and 2 others (see the rule's Replaces section).

traitUse.internalClassanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

traitUse.internalEnumanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

traitUse.internalInterfaceanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

traitUse.internalTraitanalyse/classes/internal-class-usage

Merged with RestrictedInternalClassNameUsageExtension, catch.internalClass, catch.internalEnum and 33 others (see the rule's Replaces section).

typeAlias.circularanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.duplicate, typeAlias.invalidName and 4 others (see the rule's Replaces section).

typeAlias.duplicateanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.invalidName and 4 others (see the rule's Replaces section).

typeAlias.invalidNameanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.duplicate and 4 others (see the rule's Replaces section).

typeAlias.invalidTypeanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.duplicate and 4 others (see the rule's Replaces section).

typeAlias.notFoundanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.duplicate and 4 others (see the rule's Replaces section).

typeAlias.traitanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.duplicate and 4 others (see the rule's Replaces section).

typeAlias.unresolvableTypeanalyse/phpdoc/invalid-type-alias

Merged with LocalTypeAliasesRule, typeAlias.circular, typeAlias.duplicate and 4 others (see the rule's Replaces section).

unaryMinus.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-minus

Merged with OperandInArithmeticUnaryMinusRule, postDec.nonNumeric, postInc.nonNumeric and 2 others (see the rule's Replaces section).

unaryOp.invalidanalyse/types/invalid-unary-operand

Merged with InvalidUnaryOperationRule.

unaryPlus.nonNumericphpstan-strict-rulesanalyse/operators/non-numeric-unary-plus

Merged with OperandInArithmeticUnaryPlusRule.

unionType.mixedanalyse/types/invalid-union-type

Merged with InvalidTypesInUnionRule, nullableType.mixed, nullableType.never and 1 others (see the rule's Replaces section). Expanded from unionType.%s.

unionType.neveranalyse/types/invalid-union-type

Merged with InvalidTypesInUnionRule, nullableType.mixed, nullableType.never and 1 others (see the rule's Replaces section). Expanded from unionType.%s.

unionType.voidanalyse/types/argument

Merged with CallToFunctionParametersRule, checkArgumentsPassedByReference, checkExtraArguments and 56 others (see the rule's Replaces section). Expanded from %s.void.

unset.hookedPropertyanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.offset and 4 others (see the rule's Replaces section).

unset.offsetanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.hookedProperty and 4 others (see the rule's Replaces section).

unset.possiblyHookedPropertyanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.hookedProperty and 4 others (see the rule's Replaces section).

unset.readOnlyPropertyanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.hookedProperty and 4 others (see the rule's Replaces section).

unset.readOnlyPropertyByPhpDocanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.hookedProperty and 4 others (see the rule's Replaces section).

unset.variableanalyse/types/invalid-unset

Merged with UnsetRule, InvalidUnset, unset.hookedProperty and 4 others (see the rule's Replaces section).

use.nameInUseanalyse/imports/name-already-in-use

Merged with UsedNamesRule, NameAlreadyInUse, class.nameInUse and 3 others (see the rule's Replaces section).

varTag.differentVariableanalyse/phpdoc/invalid-var-tag

Merged with WrongVariableNameInVarTagRule, varTag.misplaced, varTag.multipleTags and 1 others (see the rule's Replaces section).

varTag.misplacedanalyse/phpdoc/invalid-var-tag

Merged with WrongVariableNameInVarTagRule, varTag.differentVariable, varTag.multipleTags and 1 others (see the rule's Replaces section).

varTag.multipleTagsanalyse/phpdoc/invalid-var-tag

Merged with WrongVariableNameInVarTagRule, varTag.differentVariable, varTag.misplaced and 1 others (see the rule's Replaces section).

varTag.nativeTypeanalyse/phpdoc/var-tag-type-mismatch

Merged with VarTagChangedExpressionTypeRule, varTag.type.

varTag.noVariableanalyse/phpdoc/invalid-var-tag

Merged with WrongVariableNameInVarTagRule, varTag.differentVariable, varTag.misplaced and 1 others (see the rule's Replaces section).

varTag.traitanalyse/phpdoc/invalid-var-tag-type

Merged with InvalidPhpDocVarTagTypeRule, varTag.unresolvableType.

varTag.typeanalyse/phpdoc/var-tag-type-mismatch

Merged with VarTagChangedExpressionTypeRule, varTag.nativeType.

varTag.unresolvableTypeanalyse/phpdoc/invalid-var-tag-type

Merged with InvalidPhpDocVarTagTypeRule, varTag.trait.

varTag.variableNotFoundlint/dead-code/no-invalid-var-tag

Merged with RemoveNonExistingVarAnnotation.

variable.dynamicNamephpstan-strict-ruleslint/style/no-variable-variable

Merged with VariableVariablesRule, no-variable-variable.

variable.implicitArrayphpstan-strict-ruleslint/arrays/no-implicit-array-creation

Merged with DisallowedImplicitArrayCreationRule.

variable.nameNotStringanalyse/undefined/variable

Merged with DefinedVariableRule, checkMaybeUndefinedVariables, PossiblyUndefinedVariable and 4 others (see the rule's Replaces section). Planned: not ported yet.

variable.undefinedanalyse/undefined/variable

Merged with DefinedVariableRule, checkMaybeUndefinedVariables, PossiblyUndefinedVariable and 4 others (see the rule's Replaces section). Planned: not ported yet.

variable.unusedanalyse/dead-code/unused-variable

Merged with UnusedVariableRule, array.offsetOverwritten, array.unusedOffset and 24 others (see the rule's Replaces section).

void.pureanalyse/functions/invalid-pure

Merged with PureFunctionRule, impure.betweenPhpTags, impure.die and 50 others (see the rule's Replaces section).

while.alwaysFalseanalyse/dead-code/while-always-false

Merged with WhileLoopAlwaysFalseConditionRule.

while.alwaysTrueanalyse/dead-code/while-always-true

Merged with WhileLoopAlwaysTrueConditionRule.

while.condNotBooleanphpstan-strict-rulesanalyse/control-flow/non-boolean-while

Merged with BooleanInWhileConditionRule.

whitespace.bomformat/whitespace/encoding

Merged with encoding, FileWhitespaceRule.

whitespace.fileEndformat/tags/no-closing

Merged with no_closing_tag, no-closing-tag, no-php-tag-terminator.

Unsupported rules

PHPStan extension-API checks; Pun has no PHP extension API

phpParser.classRenamed, phpParser.nodeConnectingAttribute, phpstanApi.class, phpstanApi.classConstant, phpstanApi.constructor, phpstanApi.enum, phpstanApi.getTemplateType, phpstanApi.instanceofAssumption, phpstanApi.instanceofType, phpstanApi.interface, phpstanApi.method, phpstanApi.phpstanNamespace, phpstanApi.runtimeReflection, phpstanApi.trait, phpstanApi.varTagAssumption.

phpstan.org playground only

phpstanPlayground.arrayDimFetchCast, phpstanPlayground.arrayKeyCast, phpstanPlayground.configParameter, phpstanPlayground.never, phpstanPlayground.noPhp, phpstanPlayground.phpDoc, phpstanPlayground.traitUnused.

Pun-only rules

Last updated on

Was this page helpful?