Update LICENSE and README
This commit is contained in:
51
README.md
51
README.md
@@ -1,6 +1,7 @@
|
||||
# Symfony Extension [](https://packagist.org/packages/friends-of-behat/symfony-extension) [](https://packagist.org/packages/friends-of-behat/symfony-extension) [](http://travis-ci.org/FriendsOfBehat/SymfonyExtension) [](https://scrutinizer-ci.com/g/FriendsOfBehat/SymfonyExtension/)
|
||||
# Symfony Extension
|
||||
|
||||
Integrates Behat with Symfony (both 2 and 3).
|
||||
Integrates Behat with Symfony (`^3.4` and `^4.1`).
|
||||
|
||||
Inspired by [Behat/Symfony2Extension](https://github.com/Behat/Symfony2Extension).
|
||||
|
||||
## Differences
|
||||
@@ -27,29 +28,29 @@ ensures that application behaviour will not be affected by stateful services.
|
||||
FriendsOfBehat\SymfonyExtension: ~
|
||||
```
|
||||
|
||||
**Symfony 3 configuration**
|
||||
**Symfony 3 configuration**
|
||||
|
||||
```
|
||||
FriendsOfBehat\SymfonyExtension:
|
||||
kernel:
|
||||
bootstrap: 'var/bootstrap.php.cache'
|
||||
path: app/AppKernel.php
|
||||
class: 'AppKernel'
|
||||
env: test
|
||||
debug: true
|
||||
```
|
||||
|
||||
**Symfony 4 configuration**
|
||||
|
||||
```
|
||||
FriendsOfBehat\SymfonyExtension:
|
||||
env_file: .env
|
||||
kernel:
|
||||
class: 'MyTrip\Kernel'
|
||||
path: src/Kernel.php
|
||||
debug: true
|
||||
```
|
||||
|
||||
Symfony 4 does not have bootstrap file anymore and the environment is configured in the .env file.
|
||||
```
|
||||
FriendsOfBehat\SymfonyExtension:
|
||||
kernel:
|
||||
bootstrap: 'var/bootstrap.php.cache'
|
||||
path: app/AppKernel.php
|
||||
class: 'AppKernel'
|
||||
env: test
|
||||
debug: true
|
||||
```
|
||||
|
||||
**Symfony 4 configuration**
|
||||
|
||||
```
|
||||
FriendsOfBehat\SymfonyExtension:
|
||||
env_file: .env
|
||||
kernel:
|
||||
class: 'MyTrip\Kernel'
|
||||
path: src/Kernel.php
|
||||
debug: true
|
||||
```
|
||||
|
||||
Symfony 4 does not have bootstrap file anymore and the environment is configured in the .env file.
|
||||
|
||||
3. Good luck & have fun!
|
||||
|
||||
Reference in New Issue
Block a user