PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Class path doesn't match project structure

Last modified: 11 January 2023

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

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

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