Skip to content

Commit 99c6f98

Browse files
Merge pull request #302 from alexislefebvre/2.x-doc-update-installation
doc: update installation
2 parents b8b54ac + 745085d commit 99c6f98

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

doc/installation.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
Installation
2-
============
1+
# Installation
32

4-
1. Download the Bundle
3+
## 1. Download the Bundle
54

6-
Open a command console, enter your project directory and execute the
7-
following command to download the latest stable version of this bundle:
5+
Open a command console, enter your project directory and execute the
6+
following command to download the latest stable version of this bundle:
87

9-
```bash
10-
$ composer require --dev liip/test-fixtures-bundle:^2.0.0
11-
```
8+
```shell
9+
composer require --dev liip/test-fixtures-bundle:^2.0.0
10+
```
1211

13-
>**Note** If you use Symfony 3.4, see the [documentation for 1.x](https://github.com/liip/LiipTestFixturesBundle/blob/1.x/README.md).
12+
> [!TIP]
13+
> If you use Symfony 3.4, see the [documentation for 1.x](https://github.com/liip/LiipTestFixturesBundle/blob/1.x/README.md).
1414
15-
This command requires you to have Composer installed globally, as explained
16-
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
17-
of the Composer documentation.
15+
This command requires you to have Composer installed globally, as explained
16+
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
17+
of the Composer documentation.
1818

19-
2. Enable the Bundle only in the test environment
19+
## 2. Enable the Bundle only in the test environment
2020

21-
Update the relevant line in the `config/bundles.php` file to enable this bundle only
22-
for the `test` environment:
21+
Update the relevant line in the `config/bundles.php` file to enable this bundle only
22+
for the `test` environment:
2323

24-
```diff
25-
return [
26-
- Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true],
27-
+ Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['test' => true],
28-
];
29-
```
24+
```diff
25+
return [
26+
- Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true],
27+
+ Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['test' => true],
28+
];
29+
```
3030

3131
[Configuration](./configuration.md) »

0 commit comments

Comments
 (0)