Skip to content

Commit 62b625f

Browse files
authored
Merge pull request #33 from MacPaw/develop
Release
2 parents d171ae5 + fd47eff commit 62b625f

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

README.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,54 @@ Behat Messenger Context Bundle
99
Installation
1010
============
1111

12-
Step 1: Install Bundle
12+
Step 1: Download the Bundle
1313
----------------------------------
1414
Open a command console, enter your project directory and execute:
1515

16+
### Applications that use Symfony Flex [in progress](https://github.com/MacPaw/BehatRedisContext/issues/2)
17+
18+
```console
19+
$ composer require --dev macpaw/behat-messenger-context
20+
```
21+
22+
### Applications that don't use Symfony Flex
23+
24+
Open a command console, enter your project directory and execute the
25+
following command to download the latest stable version of this bundle:
26+
1627
```console
1728
$ composer require --dev macpaw/behat-messenger-context
1829
```
1930

31+
This command requires you to have Composer installed globally, as explained
32+
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
33+
of the Composer documentation.
34+
35+
36+
Then, enable the bundle by adding it to the list of registered bundles
37+
in the `app/AppKernel.php` file of your project:
38+
39+
```php
40+
<?php
41+
// app/AppKernel.php
42+
43+
// ...
44+
class AppKernel extends Kernel
45+
{
46+
public function registerBundles()
47+
{
48+
$bundles = array(
49+
// ...
50+
BehatMessengerContext\BehatMessengerContextBundle::class => ['test' => true],
51+
);
52+
53+
// ...
54+
}
55+
56+
// ...
57+
}
58+
```
59+
2060
Step 2: Configure Messenger
2161
=============
2262
Copying `config/packages/dev/messenger.yaml` and pasting that into `config/packages/test/`. This gives us messenger configuration that will only be used in the test environment. Uncomment the code, and replace sync with in-memory. Do that for both of the transports.
@@ -50,4 +90,4 @@ Go to `behat.yml`
5090
[master Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/master
5191
[master Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/master?logo=codecov
5292
[develop Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/develop
53-
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov
93+
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
## Supported Versions
44

55
| Version | Supported |
6-
| ------- | ------------------ |
6+
|---------| ------------------ |
77
| 0.x.x | :white_check_mark: |
88
| 1.x.x | :white_check_mark: |
9+
| 2.x.x | :white_check_mark: |
910

1011
## Reporting a Bug
1112

0 commit comments

Comments
 (0)