Merge pull request #36 from pamil/minor-fixes
Update LICENSE, README and remove license comments from PHP files
This commit is contained in:
2
LICENSE
2
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
|
||||
|
||||
23
README.md
23
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 (`^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!
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user