Merge pull request #36 from pamil/minor-fixes

Update LICENSE, README and remove license comments from PHP files
This commit is contained in:
Kamil Kokot
2018-08-01 15:40:05 +02:00
committed by GitHub
6 changed files with 27 additions and 62 deletions

View File

@@ -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

View File

@@ -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 (`^3.4` and `^4.1`).
Integrates Behat with Symfony (both 2 and 3).
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:
```
FriendsOfBehat\SymfonyExtension:
kernel:
bootstrap: 'var/bootstrap.php.cache'
path: app/AppKernel.php
class: 'AppKernel'
env: test
debug: true
```
```
**Symfony 4 configuration**
**Symfony 4 configuration**
```
FriendsOfBehat\SymfonyExtension:
```
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.
Symfony 4 does not have bootstrap file anymore and the environment is configured in the .env file.
3. Good luck & have fun!

View File

@@ -2,15 +2,6 @@
declare(strict_types=1);
/*
* This file is part of the SymfonyExtension package.
*
* (c) Kamil Kokot <kamil@kokot.me>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FriendsOfBehat\SymfonyExtension\Driver\Factory;
use Behat\MinkExtension\ServiceContainer\Driver\DriverFactory;

View File

@@ -2,15 +2,6 @@
declare(strict_types=1);
/*
* This file is part of the SymfonyExtension package.
*
* (c) Kamil Kokot <kamil@kokot.me>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FriendsOfBehat\SymfonyExtension\Driver;
use Behat\Mink\Driver\BrowserKitDriver;

View File

@@ -2,15 +2,6 @@
declare(strict_types=1);
/*
* This file is part of the SymfonyExtension package.
*
* (c) Kamil Kokot <kamil@kokot.me>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FriendsOfBehat\SymfonyExtension\Listener;
use Behat\Behat\EventDispatcher\Event\ExampleTested;

View File

@@ -2,15 +2,6 @@
declare(strict_types=1);
/*
* This file is part of the SymfonyExtension package.
*
* (c) Kamil Kokot <kamil@kokot.me>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FriendsOfBehat\SymfonyExtension\ServiceContainer;
use Behat\MinkExtension\ServiceContainer\MinkExtension;