Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit724c17f

Browse files
committed
Simplified instructions
1 parent6d6303c commit724c17f

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

‎cookbook/install/unstable_versions.rst

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,41 +41,27 @@ Symfony application to an unstable framework version. Suppose again that Symfony
4141

4242
First, open the ``composer.json`` file located in the root directory of your
4343
project. Then, edit the value of the version defined for the ``symfony/symfony``
44-
dependency:
44+
dependency as follows:
4545

4646
..code-block::json
4747
4848
{
4949
"require": {
5050
// ...
51-
"symfony/symfony" :"2.7.*"
51+
"symfony/symfony" :"2.7.*@dev"
5252
}
5353
}
5454
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:
7457

7558
..code-block::bash
7659
7760
$ composer update
7861
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+
7965
..tip::
8066

8167
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
8773
8874
$cd projects/my_project/
8975
$ git checkout -b testing_new_symfony
90-
// update composer.json configuration
76+
//...update composer.json configuration
9177
$ composer update
9278
9379
// ... after testing the new Symfony version

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp