From a3cb3ee263ae08f33e08550ff957866c0f3a557e Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Wed, 3 Apr 2019 17:17:23 -0300 Subject: [PATCH] [Setup] Defer the removal of bundle directory --- setup/flex.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/flex.rst b/setup/flex.rst index 35814cf66b5..e922f87ce60 100644 --- a/setup/flex.rst +++ b/setup/flex.rst @@ -239,7 +239,7 @@ manual steps: #. Move the original PHP source code from ``src/AppBundle/*``, except bundle specific files (like ``AppBundle.php`` and ``DependencyInjection/``), to - ``src/``. Remove ``src/AppBundle/``. + ``src/``. In addition to moving the files, update the ``autoload`` and ``autoload-dev`` values of the ``composer.json`` file as `shown in this example`_ to use @@ -265,6 +265,8 @@ manual steps: #. Update the ``bin/console`` script `copying Symfony's bin/console source`_ and changing anything according to your original console script. +#. Remove ``src/AppBundle/``. + #. Remove the ``bin/symfony_requirements`` script and if you need a replacement for it, use the new `Symfony Requirements Checker`_.