Skip to content

Commit 5b236ab

Browse files
committed
Add information about flex plugin allowance
1 parent 77f2b79 commit 5b236ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bundles/best_practices.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,15 @@ Require a Specific Symfony Version
227227
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228228

229229
You can use the special ``SYMFONY_REQUIRE`` environment variable together
230-
with Symfony Flex to install a specific Symfony version:
230+
with Symfony to install a specific Symfony version:
231231

232232
.. code-block:: bash
233233
234234
# this requires Symfony 5.x for all Symfony packages
235235
export SYMFONY_REQUIRE=5.*
236236
237237
# install Symfony Flex in the CI environment
238+
composer global config --no-plugins allow-plugins.symfony/flex true
238239
composer global require --no-progress --no-scripts --no-plugins symfony/flex
239240
240241
# install the dependencies (using --prefer-dist and --no-progress is

0 commit comments

Comments
 (0)