diff --git a/README.md b/README.md index adf61dc..b0d17a9 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,54 @@ Behat Messenger Context Bundle Installation ============ -Step 1: Install Bundle +Step 1: Download the Bundle ---------------------------------- Open a command console, enter your project directory and execute: +### Applications that use Symfony Flex [in progress](https://github.com/MacPaw/BehatRedisContext/issues/2) + +```console +$ composer require --dev macpaw/behat-messenger-context +``` + +### Applications that don't use Symfony Flex + +Open a command console, enter your project directory and execute the +following command to download the latest stable version of this bundle: + ```console $ composer require --dev macpaw/behat-messenger-context ``` +This command requires you to have Composer installed globally, as explained +in the [installation chapter](https://getcomposer.org/doc/00-intro.md) +of the Composer documentation. + + +Then, enable the bundle by adding it to the list of registered bundles +in the `app/AppKernel.php` file of your project: + +```php + ['test' => true], + ); + + // ... + } + + // ... +} +``` + Step 2: Configure Messenger ============= 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` [master Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/master [master Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/master?logo=codecov [develop Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/develop -[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov \ No newline at end of file +[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov diff --git a/SECURITY.md b/SECURITY.md index 8d26322..6b2d458 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -3,9 +3,10 @@ ## Supported Versions | Version | Supported | -| ------- | ------------------ | +|---------| ------------------ | | 0.x.x | :white_check_mark: | | 1.x.x | :white_check_mark: | +| 2.x.x | :white_check_mark: | ## Reporting a Bug