@@ -40,14 +40,15 @@ If you created your application after November 15th 2018, you don't need to make
40
40
any changes! Otherwise, here is the list of changes you'll need to make - these
41
41
changes can be made to any Symfony 3.4 or higher app:
42
42
43
- #. Create a new `src/.bootstrap.php `_ file in your project. This file loads Composer's
44
- autoloader and loads all the ``.env `` files as needed.
43
+ #. Create a new `config/bootstrap.php `_ file in your project. This file loads Composer's
44
+ autoloader and loads all the ``.env `` files as needed (note: in an earlier recipe,
45
+ this file was called ``src/.bootstrap.php ``).
45
46
46
- #. Update your `public/index.php `_ (`index.php diff `_) file to load the new ``src/. bootstrap.php ``
47
+ #. Update your `public/index.php `_ (`index.php diff `_) file to load the new ``config/ bootstrap.php ``
47
48
file. If you've customized this file, make sure to keep those changes (but use
48
49
the rest of the changes).
49
50
50
- #. Update your `bin/console `_ (`bin/console diff `_) file to load the new ``src/. bootstrap.php `` file.
51
+ #. Update your `bin/console `_ (`bin/console diff `_) file to load the new ``config/ bootstrap.php `` file.
51
52
52
53
#. Update ``.gitignore ``:
53
54
@@ -78,10 +79,10 @@ changes can be made to any Symfony 3.4 or higher app:
78
79
You can also update the `comment on the top of .env `_ to reflect the new changes.
79
80
80
81
#. If you're using PHPUnit, you will also need to `create a new .env.test `_ file
81
- and update your `phpunit.xml.dist file `_ so it loads the ``src/. bootstrap.php ``
82
+ and update your `phpunit.xml.dist file `_ so it loads the ``config/ bootstrap.php ``
82
83
file.
83
84
84
- .. _`src/. bootstrap.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/src/. bootstrap.php
85
+ .. _`config/ bootstrap.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/ bootstrap.php
85
86
.. _`public/index.php` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/public/index.php
86
87
.. _`index.php diff` : https://github.com/symfony/recipes/compare/8a4e5555e30d5dff64275e2788a901f31a214e79...86e2b6795c455f026e5ab0cba2aff2c7a18511f7#diff-473fca613b5bda15d87731036cb31586
87
88
.. _`bin/console` : https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console
0 commit comments