Skip to content

Commit 4e34f20

Browse files
committed
minor #16732 Tell about COMPOSER_ROOT_VERSION when not working on the default branch (MatTheCat)
This PR was merged into the 4.4 branch. Discussion ---------- Tell about COMPOSER_ROOT_VERSION when not working on the default branch Just hit #13710 so here it goes again! Commits ------- 0e21ee1 Tell about COMPOSER_ROOT_VERSION when not working on the default branch
2 parents b15133e + 0e21ee1 commit 4e34f20

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contributing/code/tests.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ tests, such as Doctrine, Twig and Monolog. To do so,
2424
2525
$ composer update
2626
27+
.. tip::
28+
29+
Dependencies might fail to update and in this case Composer might need you to
30+
tell it what Symfony version you are working on.
31+
To do so set ``COMPOSER_ROOT_VERSION`` variable, e.g.:
32+
33+
.. code-block:: terminal
34+
35+
$ COMPOSER_ROOT_VERSION=4.4.x-dev composer update
36+
2737
.. _running:
2838

2939
Running the Tests

0 commit comments

Comments
 (0)