@@ -41,41 +41,27 @@ Symfony application to an unstable framework version. Suppose again that Symfony
41
41
42
42
First, open the ``composer.json `` file located in the root directory of your
43
43
project. Then, edit the value of the version defined for the ``symfony/symfony ``
44
- dependency:
44
+ dependency as follows :
45
45
46
46
..code-block ::json
47
47
48
48
{
49
49
"require" : {
50
50
// ...
51
- "symfony/symfony" :" 2.7.*"
51
+ "symfony/symfony" :" 2.7.*@dev "
52
52
}
53
53
}
54
54
55
- Then, before updating your dependencies, make sure that the project configuration
56
- allows to install unstable versions. If the ``composer.json `` file contains a
57
- ``minimum-stability `` option, change its value to ``dev ``. If that option doesn't
58
- exist, add it as follows:
59
-
60
- ..code-block ::json
61
-
62
- {
63
- "require" : {
64
- // ...
65
- "symfony/symfony" :" 2.7.*"
66
- },
67
- "minimum-stability" :" dev"
68
- }
69
-
70
- If you prefer to test a Symfony beta version, replace the ``dev `` value of the
71
- ``minimum-stability `` option by ``beta ``.
72
-
73
- Then, open a command console, enter your project directory and execute the following command to update your project dependencies:
55
+ Then, open a command console, enter your project directory and execute the following
56
+ command to update your project dependencies:
74
57
75
58
..code-block ::bash
76
59
77
60
$ composer update
78
61
62
+ If you prefer to test a Symfony beta version, replace the ``"2.7.*@dev" `` constraint
63
+ by ``"2.7.*@beta1" `` (or any other beta number).
64
+
79
65
..tip ::
80
66
81
67
If you use Git to manage the project's code, it's a good practice to create
@@ -87,7 +73,7 @@ Then, open a command console, enter your project directory and execute the follo
87
73
88
74
$cd projects/my_project/
89
75
$ git checkout -b testing_new_symfony
90
- // update composer.json configuration
76
+ //... update composer.json configuration
91
77
$ composer update
92
78
93
79
// ... after testing the new Symfony version