From 4c2aab39ba6f2edf7d6312e5dd5e2ddc49d0ca71 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Wed, 1 Aug 2018 15:32:42 +0200 Subject: [PATCH] Update LICENSE and README --- LICENSE | 2 +- README.md | 51 ++++++++++++++++++++++++++------------------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/LICENSE b/LICENSE index d538248..2dbb8e6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2016-2017 Kamil Kokot +Copyright (c) 2016-2018 Kamil Kokot Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 0e705e6..2c829d7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -# Symfony Extension [![License](https://img.shields.io/packagist/l/friends-of-behat/symfony-extension.svg)](https://packagist.org/packages/friends-of-behat/symfony-extension) [![Version](https://img.shields.io/packagist/v/friends-of-behat/symfony-extension.svg)](https://packagist.org/packages/friends-of-behat/symfony-extension) [![Build status on Linux](https://img.shields.io/travis/FriendsOfBehat/SymfonyExtension/master.svg)](http://travis-ci.org/FriendsOfBehat/SymfonyExtension) [![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/FriendsOfBehat/SymfonyExtension.svg)](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!