@@ -148,21 +148,21 @@ is not enough. You must also upgrade the directory structure to the one showed
148
148
above. Sadly, there's no automatic tool to make this upgrade, so you must follow
149
149
these manual steps:
150
150
151
- 1 . Create a new empty Symfony application (``composer create-project symfony/skeleton my-project-flex ``)
152
- 2 . Copy the ``require `` and ``require-dev `` dependencies defined in your original
151
+ # . Create a new empty Symfony application (``composer create-project symfony/skeleton my-project-flex ``)
152
+ # . Copy the ``require `` and ``require-dev `` dependencies defined in your original
153
153
project's ``composer.json `` file to the ``composer.json `` file of the new project.
154
- 3 . Install the dependencies in the new project executing ``composer install ``. This
154
+ # . Install the dependencies in the new project executing ``composer install ``. This
155
155
will make Symfony Flex generate all the configuration files in ``config/packages/ ``
156
- 4 . Review the generated ``config/packages/*.yaml `` files and make any needed
156
+ # . Review the generated ``config/packages/*.yaml `` files and make any needed
157
157
changes according to the configuration defined in the ``app/config/config_*.yml ``
158
158
file of your original project. Beware that this is the most time-consuming
159
159
and error-prone step of the upgrade process.
160
- 5 . Move the original parameters defined in ``app/config/parameters.*.yml `` to the
160
+ # . Move the original parameters defined in ``app/config/parameters.*.yml `` to the
161
161
new ``config/container.yaml `` and ``.env `` files depending on your needs.
162
- 6 . Move the original source code from ``src/{App,...}Bundle/ `` to ``src/ `` and
162
+ # . Move the original source code from ``src/{App,...}Bundle/ `` to ``src/ `` and
163
163
update the namespaces of every PHP file (advanced IDEs can do this automatically).
164
- 7 . Move the original templates from ``app/Resources/views/ `` to ``templates/ ``
165
- 8 . Make any other change needed by your application. For example, if your original
164
+ # . Move the original templates from ``app/Resources/views/ `` to ``templates/ ``
165
+ # . Make any other change needed by your application. For example, if your original
166
166
``web/app_*.php `` front controllers were customized, add those changes to the
167
167
new ``public/index.php `` controller.
168
168
0 commit comments