How to switch to PSR4 in your composer.json
?
composer require symplify/psr4-switcher --dev
Does short file name matches the class name?
vendor/bin/psr4-switcher check-file-class-name src
What files have 2 and more classes?
vendor/bin/psr4-switcher find-multi-classes tests
In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker
The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.