Skip to content

[READ-ONLY] Switch classmap to PSR-4

License

Notifications You must be signed in to change notification settings

deprecated-packages/psr4-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSR-4 Switcher

Downloads total

How to switch to PSR4 in your composer.json?

Install

composer require symplify/psr4-switcher --dev

Usage

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

Report Issues

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker

Contribute

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.