symplify / psr4-switcher
This package is abandoned and no longer maintained.
The author suggests using the symplify/easy-ci package instead.
Switch classmap to PSR-4
10.0.0-beta1
2021-11-02 10:18 UTC
Requires
- php: >=8.0
- nette/robot-loader: ^3.4
- nette/utils: ^3.2
- symfony/console: ^5.3|^6.0
- symfony/dependency-injection: ^5.3|^6.0
- symplify/composer-json-manipulator: ^10.0
- symplify/package-builder: ^10.0
- symplify/smart-file-system: ^10.0
- symplify/symplify-kernel: ^10.0
Requires (Dev)
- phpunit/phpunit: ^9.5
Conflicts
- symplify/amnesia: <10.0.0-beta1
- symplify/astral: <10.0.0-beta1
- symplify/autowire-array-parameter: <10.0.0-beta1
- symplify/coding-standard: <10.0.0-beta1
- symplify/config-transformer: <10.0.0-beta1
- symplify/console-color-diff: <10.0.0-beta1
- symplify/easy-ci: <10.0.0-beta1
- symplify/easy-coding-standard: <10.0.0-beta1
- symplify/easy-testing: <10.0.0-beta1
- symplify/git-wrapper: <10.0.0-beta1
- symplify/latte-phpstan-compiler: <10.0.0-beta1
- symplify/markdown-diff: <10.0.0-beta1
- symplify/monorepo-builder: <10.0.0-beta1
- symplify/php-config-printer: <10.0.0-beta1
- symplify/phpstan-extensions: <10.0.0-beta1
- symplify/phpstan-latte-rules: <10.0.0-beta1
- symplify/phpstan-rules: <10.0.0-beta1
- symplify/phpstan-twig-rules: <10.0.0-beta1
- symplify/rule-doc-generator: <10.0.0-beta1
- symplify/rule-doc-generator-contracts: <10.0.0-beta1
- symplify/simple-php-doc-parser: <10.0.0-beta1
- symplify/skipper: <10.0.0-beta1
- symplify/symfony-php-config: <10.0.0-beta1
- symplify/symfony-static-dumper: <10.0.0-beta1
- symplify/template-phpstan-compiler: <10.0.0-beta1
- symplify/twig-phpstan-compiler: <10.0.0-beta1
- symplify/vendor-patches: <10.0.0-beta1
This package is auto-updated.
Last update: 2021-11-03 00:57:02 UTC
README
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.