Skip to content

Commit a7a179d

Browse files
committed
minor #16983 Add information about flex plugin allowance (lchrusciel)
This PR was merged into the 5.4 branch. Discussion ---------- Add information about flex plugin allowance With the recent change of composer policy around plugins, it is better to turn on plugins before requiring it <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 5b236ab Add information about flex plugin allowance
2 parents 9759d20 + 5b236ab commit a7a179d

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)