chameleon-system/upgrade-helper

A Symfony bundle for chameleon-system that helps upgrading. Currently supported is an upgrade to 7.1

v1.0.1 2021-04-01 13:45 UTC

This package is not auto-updated.

Last update: 2024-04-26 23:40:16 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:

  1. 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.
  2. Calls to non existing/non public services. In this case the respective service should be made public.