Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

[READ-ONLY] Missing PSR-4 autodiscovery for services in NEON for PHPStan.

License

Notifications You must be signed in to change notification settings

deprecated-packages/neon-config-dumper

Repository files navigation

Neon Config Dumper

Downloads total

Missing PSR-4 autodiscovery for services in NEON for PHPStan. Do not maintain service registration manually, just dump them to generated neon config with automated command.

Install

composer require symplify/neon-config-dumper --dev

Use

To generate config, provide a directory with classes as first arguments, and --output-file option path to dump the file into.

vendor/bin/config-dumper packages/phpstan-rules/src --output-file config/generated-services.neon

Tool will generate config with all services, as you'd register them manually. Directories like ValueObject, Contract etc. are skipped.


That's all :)


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.

About

[READ-ONLY] Missing PSR-4 autodiscovery for services in NEON for PHPStan.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages