Skip to content

Commit d171ae5

Browse files
authored
Merge pull request #31 from MacPaw/develop
Release
2 parents 17c5757 + f8bf6d1 commit d171ae5

19 files changed

+130
-5550
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
run: |
6969
composer require symfony/messenger:${{ matrix.symfony-versions }} --no-update --no-scripts
7070
composer require symfony/serializer:${{ matrix.symfony-versions }} --no-update --no-scripts
71+
composer require symfony/dependency-injection:${{ matrix.symfony-versions }} --no-update --no-scripts
72+
composer require symfony/http-kernel:${{ matrix.symfony-versions }} --no-update --no-scripts
7173
7274
- name: Install dependencies
7375
run: composer install

.github/workflows/create-release.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
/composer.lock
33
/build/
44
/.phpunit.result.cache
5-
65
/node_modules/
6+
/.idea/
77
/package-lock.json

.releaserc

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Behat Messenger Context
1+
Behat Messenger Context Bundle
22
=================================
33

44
| Version | Build Status | Code Coverage |
@@ -9,26 +9,15 @@ Behat Messenger Context
99
Installation
1010
============
1111

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

1616
```console
1717
$ composer require --dev macpaw/behat-messenger-context
1818
```
1919

20-
Step 2: Update Container config to load Messenger Context
21-
----------------------------------
22-
In the `config/services_test.yaml` file of your project:
23-
24-
```
25-
BehatMessengerContext\:
26-
resource: '../vendor/macpaw/behat-messenger-context/src/*'
27-
arguments:
28-
- '@test.service_container'
29-
```
30-
31-
Step 3: Configure Messenger
20+
Step 2: Configure Messenger
3221
=============
3322
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.
3423

@@ -43,7 +32,7 @@ framework:
4332
```
4433

4534

46-
Step 4: Configure Behat
35+
Step 3: Configure Behat
4736
=============
4837
Go to `behat.yml`
4938

@@ -61,4 +50,4 @@ Go to `behat.yml`
6150
[master Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/master
6251
[master Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/master?logo=codecov
6352
[develop Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/develop
64-
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov
53+
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "macpaw/behat-messenger-context",
3-
"type": "library",
3+
"type": "symfony-bundle",
44
"description": "Behat Context for testing Symfony Messenger component",
55
"keywords": [
66
"MacPaw",
@@ -29,7 +29,10 @@
2929
"php": "^7.4 || ^8.0",
3030
"behat/behat": "^3.0",
3131
"symfony/messenger": "^4.4 || ^5.0 || ^6.0",
32-
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
32+
"symfony/serializer": "^4.4 || ^5.0 || ^6.0",
33+
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
34+
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
35+
"macpaw/similar-arrays": "^1.0"
3336
},
3437
"require-dev": {
3538
"phpstan/phpstan": "^0.12",

0 commit comments

Comments
 (0)