@@ -45,16 +45,12 @@ If you created your application after November 15th 2018, you don't need to make
45
45
any changes! Otherwise, here is the list of changes you'll need to make - these
46
46
changes can be made to any Symfony 3.4 or higher app:
47
47
48
- #. Create a new `config/bootstrap.php `_ file in your project. This file loads Composer's
49
- autoloader and loads all the ``.env `` files as needed (note: in an earlier recipe,
50
- this file was called ``src/.bootstrap.php ``; if you are upgrading from Symfony 3.3
51
- or 4.1, use the `3.3/config/bootstrap.php `_ file instead).
48
+ #. Update your ``public/index.php `` file to add the code of the `public/index.php `_
49
+ file provided by Symfony. If you've customized this file, make sure to keep
50
+ those changes (but add the rest of the changes made by Symfony).
52
51
53
- #. Update your `public/index.php `_ (`index.php diff `_) file to load the new ``config/bootstrap.php ``
54
- file. If you've customized this file, make sure to keep those changes (but use
55
- the rest of the changes).
56
-
57
- #. Update your `bin/console `_ file to load the new ``config/bootstrap.php `` file.
52
+ #. Update your ``bin/console `` file to add the code of the `bin/console `_ file
53
+ provided by Symfony.
58
54
59
55
#. Update ``.gitignore ``:
60
56
@@ -86,14 +82,11 @@ changes can be made to any Symfony 3.4 or higher app:
86
82
You can also update the `comment on the top of .env `_ to reflect the new changes.
87
83
88
84
#. If you're using PHPUnit, you will also need to `create a new .env.test `_ file
89
- and update your `phpunit.xml.dist file `_ so it loads the ``config /bootstrap.php ``
85
+ and update your `phpunit.xml.dist file `_ so it loads the ``tests /bootstrap.php ``
90
86
file.
91
87
92
- .. _`config/bootstrap.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2/config/bootstrap.php
93
- .. _`3.3/config/bootstrap.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/bootstrap.php
94
- .. _`public/index.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2/public/index.php
95
- .. _`index.php diff` : https://github.com/symfony/recipes/compare/8a4e5555e30d5dff64275e2788a901f31a214e79...86e2b6795c455f026e5ab0cba2aff2c7a18511f7#diff-7d73eabd1e5eb7d969ddf9a7ce94f954
96
- .. _`bin/console` : https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console
88
+ .. _`public/index.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/5.1/public/index.php
89
+ .. _`bin/console` : https://github.com/symfony/recipes/blob/master/symfony/console/5.1/bin/console
97
90
.. _`comment on the top of .env` : https://github.com/symfony/recipes/blob/master/symfony/flex/1.0/.env
98
91
.. _`create a new .env.test` : https://github.com/symfony/recipes/blob/master/symfony/phpunit-bridge/3.3/.env.test
99
92
.. _`phpunit.xml.dist file` : https://github.com/symfony/recipes/blob/master/symfony/phpunit-bridge/3.3/phpunit.xml.dist
0 commit comments