analyse/classes
Class, interface, trait and enum declarations and their members. Also in format (8) and lint (15).
abstract-method-in-concrete-class
In the analyse-basic preset and every stricter one. Report only.
abstract-private-method
In the analyse-basic preset and every stricter one. Report only.
callable-property-type
In the analyse-basic preset and every stricter one. Report only.
class-named-constant
In the analyse-basic preset and every stricter one. Report only.
conflicting-trait-constant
In the analyse-basic preset and every stricter one. Report only.
constant-in-trait
In the analyse-basic preset and every stricter one. Report only.
constructor-with-return-type
In the analyse-basic preset and every stricter one. Report only.
disallowed-subtype
In the analyse-basic preset and every stricter one. Report only.
duplicate-declaration
In the analyse-basic preset and every stricter one. Report only.
duplicate-trait-member
In the analyse-basic preset and every stricter one. Report only.
dynamic-static-call
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.dynamicCallOnStaticMethod.
dynamic-static-callable
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.dynamicCallOnStaticMethod.
enum-case-outside-enum
In the analyse-basic preset and every stricter one. Report only.
final-constant-not-supported
In the analyse-basic preset and every stricter one. Report only.
final-private-constant
In the analyse-basic preset and every stricter one. Report only.
final-private-method
In the analyse-basic preset and every stricter one. Report only.
get-hook-without-read
In the analyse-essential preset and every stricter one. Report only.
inaccessible-class-constant
In the analyse-essential preset and every stricter one. Report only.
inaccessible-method
In the analyse-essential preset and every stricter one. Report only.
inaccessible-property
In the analyse-essential preset and every stricter one. Report only.
incompatible-constant-override
Reports overrides of final constants, reduced constant visibility, and incompatible native or PHPDoc constant types. Native and PHPDoc covariance checks run with the essential preset and stricter presets.
In the analyse-basic preset and every stricter one. Report only.
incompatible-override
In the analyse-basic preset and every stricter one. Report only.
incompatible-property-override
In the analyse-basic preset and every stricter one. Report only.
inconsistent-constructor
In the analyse-basic preset and every stricter one. Report only.
internal-class-usage
In the analyse-basic preset and every stricter one. Report only.
internal-constant-access
In the analyse-basic preset and every stricter one. Report only.
internal-method-call
In the analyse-basic preset and every stricter one. Report only.
internal-method-callable
In the analyse-basic preset and every stricter one. Report only.
internal-property-access
In the analyse-basic preset and every stricter one. Report only.
internal-static-method-call
In the analyse-basic preset and every stricter one. Report only.
internal-static-method-callable
In the analyse-basic preset and every stricter one. Report only.
internal-static-property-access
In the analyse-basic preset and every stricter one. Report only.
invalid-dynamic-constant-fetch
In the analyse-basic preset and every stricter one. Report only.
invalid-enum
In the analyse-basic preset and every stricter one. Report only.
invalid-enum-implements
In the analyse-basic preset and every stricter one. Report only.
invalid-extends
In the analyse-basic preset and every stricter one. Report only.
invalid-implements
In the analyse-basic preset and every stricter one. Report only.
invalid-interface-extends
In the analyse-basic preset and every stricter one. Report only.
invalid-interface-property
In the analyse-basic preset and every stricter one. Report only.
invalid-method-callable
Checks the receiver, method existence and visibility when creating a first-class instance method callable. Callable creation does not pass arguments to the method. The check-function-name-case option also checks method spelling.
In the analyse-basic preset and every stricter one. Report only.
invalid-new
In the analyse-basic preset and every stricter one. Report only. Planned: not in Pun yet. Enabling it is a config error.
invalid-phpdoc-readonly
In the analyse-basic preset and every stricter one. Report only.
invalid-promoted-property
In the analyse-basic preset and every stricter one. Report only.
invalid-property-declaration
In the analyse-basic preset and every stricter one. Report only.
invalid-property-hook
In the analyse-basic preset and every stricter one. Report only.
invalid-readonly-property
In the analyse-basic preset and every stricter one. Report only.
invalid-static-method-callable
Checks class and method existence, visibility, static-call rules and abstract methods when creating a first-class static method callable. Callable creation does not pass arguments. The check-function-name-case option also checks method spelling.
In the analyse-basic preset and every stricter one. Report only.
missing-method-implementation
In the analyse-basic preset and every stricter one. Report only.
missing-parent-constructor-call
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.requireParentConstructorCall.
missing-required-interface
In the analyse-essential preset and every stricter one. Report only.
missing-required-parent
In the analyse-essential preset and every stricter one. Report only.
missing-serialize-methods
In the analyse-basic preset and every stricter one. Report only.
new-as-callable
In the analyse-basic preset and every stricter one. Report only.
new-static-in-abstract
In the analyse-basic preset and every stricter one. Report only. Upstream gates: bleedingEdge (featureToggles.newStaticInAbstractClassStaticMethod).
non-public-interface-method
In the analyse-basic preset and every stricter one. Report only.
private-consistent-constructor
In the analyse-basic preset and every stricter one. Report only.
read-write-only-property
In the analyse-basic preset and every stricter one. Report only.
readonly-class-not-supported
In the analyse-basic preset and every stricter one. Report only.
set-hook-without-assign
In the analyse-essential preset and every stricter one. Report only.
typed-constant-not-supported
In the analyse-basic preset and every stricter one. Report only.
uninitialized-phpdoc-readonly
In the analyse-basic preset and every stricter one. Report only.
uninitialized-property
In the analyse-basic preset and every stricter one. Report only. Upstream gates: checkUninitializedProperties.
uninitialized-readonly
In the analyse-basic preset and every stricter one. Report only.
unsafe-new-static
In the analyse-basic preset and every stricter one. Report only.