Skip to content

Commit 347989e

Browse files
committed
Minor tweaks
1 parent 43b850f commit 347989e

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

bundles/best_practices.rst

+8-9
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,18 @@ A bundle should at least test:
201201

202202
* The lower bound of their dependencies (by running ``composer update --prefer-lowest``);
203203
* The supported PHP versions;
204-
* All supported major Symfony versions (e.g. both ``4.x`` and ``5.x`` if
204+
* All supported major Symfony versions (e.g. both ``6.4`` and ``7.x`` if
205205
support is claimed for both).
206206

207-
Thus, a bundle supporting PHP 7.3, 7.4 and 8.0, and Symfony 4.4 and 5.x should
207+
Thus, a bundle supporting PHP 7.4, 8.3 and 8.4, and Symfony 6.4 and 7.x should
208208
have at least this test matrix:
209209

210210
=========== =============== ===================
211211
PHP version Symfony version Composer flags
212212
=========== =============== ===================
213-
7.3 ``4.*`` ``--prefer-lowest``
214-
7.4 ``5.*``
215-
8.0 ``5.*``
213+
7.4 ``6.4`` ``--prefer-lowest``
214+
8.3 ``7.*``
215+
8.4 ``7.*``
216216
=========== =============== ===================
217217

218218
.. tip::
@@ -232,10 +232,10 @@ with Symfony Flex to install a specific Symfony version:
232232

233233
.. code-block:: bash
234234
235-
# this requires Symfony 5.x for all Symfony packages
236-
export SYMFONY_REQUIRE=5.*
235+
# this requires Symfony 6.x for all Symfony packages
236+
export SYMFONY_REQUIRE=6.*
237237
# alternatively you can run this command to update composer.json config
238-
# composer config extra.symfony.require "5.*"
238+
# composer config extra.symfony.require "6.*"
239239
240240
# install Symfony Flex in the CI environment
241241
composer global config --no-plugins allow-plugins.symfony/flex true
@@ -567,4 +567,3 @@ Learn more
567567
.. _`choose any license`: https://choosealicense.com/
568568
.. _`valid license identifier`: https://spdx.org/licenses/
569569
.. _`GitHub Actions`: https://docs.github.com/en/free-pro-team@latest/actions
570-
.. _`Travis CI`: https://docs.travis-ci.com/

0 commit comments

Comments
 (0)