chameleon-system / upgrade-helper
A Symfony bundle for chameleon-system that helps upgrading. Currently supported is an upgrade to 7.1
Installs: 319
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- nikic/php-parser: ~4.10
- symfony/console: ~4.0
- symfony/dependency-injection: ~4.0
- symfony/finder: ~4.0
Requires (Dev)
- phpunit/phpunit: ~8.0
This package is not auto-updated.
Last update: 2024-11-09 02:01:06 UTC
README
This bundle will add the command chameleon_system:upgrade_helper
that will help you find access of non-public services when using the Container
or the ServiceLocator
Run it with a path to the root of the source files to check:
$ app/console ch:upgr "/usr/local/apache2/htdocs/customer/src"
It can produce two kinds of warnings:
- Implicit call: This is the case when a service is aquired using a variable. In this case the parse can not determine if the service is available and public. This might produce false negatives. Every case should be checked by hand.
- Calls to non existing/non public services. In this case the respective service should be made public.