Skip to content

Commit 0e21ee1

Browse files
author
Mathieu Lechat
committed
Tell about COMPOSER_ROOT_VERSION when not working on the default branch
1 parent b15133e commit 0e21ee1

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)