Inspectopedia Help

Class path doesn't match project structure

Reports the classes with the filepath not following the PSR-0/PSR-4 project structure.

You can configure the project vendor roots under Settings/Preferences | Directories.

See PSR-0/PSR-4 standards (php-fig.org) for details.

Inspection options

Option

Type

Default

Directories

SettingLink

None

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023