Skip to content

Commit 539ad34

Browse files
authored
Merge pull request #343 from FriendsOfSymfony/fix/documentation
reverted documentation installation instructions
2 parents 3ebe49b + 0f7f5e2 commit 539ad34

File tree

3 files changed

+6
-27
lines changed

3 files changed

+6
-27
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ If using versions older than Symfony3.4 (LTS), make sure to use version 1.3 of t
2929

3030
https://github.com/FriendsOfSymfony/FOSMessageBundle/tree/v1.3.0
3131

32-
When using composer, tag it as such but otherwise install as per the 1.3 docs:
33-
34-
```bash
35-
composer require friendsofsymfony/message-bundle:1.3.0
36-
```
37-
3832
License
3933
-------
4034

Resources/doc/01-installation.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,16 @@ Setting up FOSMessageBundle
1010
The first step is to tell composer that you want to download FOSMessageBundle which can
1111
be achieved by typing the following at the command prompt:
1212

13-
```bash
14-
$ composer require friendsofsymfony/message-bundle
15-
```
16-
17-
**PLEASE NOTE:** Right now that command will install v1.3.0 due to issues with packagist.
18-
19-
#### v2.0 (temporary fix)
13+
#### Current
2014

21-
To install the latest version we will have to use github as a VCS provider for composer.
22-
23-
Add the following to your composer.json:
24-
25-
```json
26-
"repositories": [
27-
{
28-
"type": "vcs",
29-
"url": "https://github.com/FriendsOfSymfony/FOSMessageBundle"
30-
}
31-
]
15+
```bash
16+
composer require friendsofsymfony/message-bundle
3217
```
3318

34-
Then type the following in the command prompt (instead of the above step).
19+
#### v1.3 (Legacy: Symfony 2, or <=3.3)
3520

3621
```bash
37-
$ composer require friendsofsymfony/message-bundle:^2.0
22+
composer require friendsofsymfony/message-bundle:1.3.0
3823
```
3924

4025
### Step 2 - Setting up your user class

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"extra": {
4747
"branch-alias": {
48-
"dev-master": "2.0-dev"
48+
"dev-master": "2.0.1-dev"
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)