Inspectopedia 2024.3 Help

PSR-12

Compound namespace depth is more than 2   New in this release

Reports the usages of compound namespaces whose depth exceeds two levels.

Else if   New in this release

Reports the usages of the else if constructs specified in two words.

Missing parameter list   New in this release

Reports missing parameter lists in a classes' instantiations.

Missing visibility   New in this release

Reports the properties, constants, and methods that are declared without visibility definition.

One-per-line trait uses   New in this release

Reports the cases of several traits being imported via a single use statement.

Order of modifiers   New in this release

Reports visibility modifiers that are specified in the incorrect order.

Short form of type keywords   New in this release

Reports usages of long form type keywords.

Usage of var   New in this release

Reports the usages of the var keyword for declaring class properties.

Last modified: 11 September 2024