Fix coding standard
This commit is contained in:
@@ -24,7 +24,6 @@ Feature: Accessing driver's service container
|
|||||||
Given the counter service is zeroed
|
Given the counter service is zeroed
|
||||||
When I visit the page "/hello-world"
|
When I visit the page "/hello-world"
|
||||||
Then the counter service should return 1
|
Then the counter service should return 1
|
||||||
|
|
||||||
"""
|
"""
|
||||||
And a context file "tests/SomeContext.php" containing:
|
And a context file "tests/SomeContext.php" containing:
|
||||||
"""
|
"""
|
||||||
@@ -74,26 +73,26 @@ Feature: Accessing driver's service container
|
|||||||
|
|
||||||
Scenario: Accessing a service from driver's service container (manually injected dependencies)
|
Scenario: Accessing a service from driver's service container (manually injected dependencies)
|
||||||
Given a YAML services file containing:
|
Given a YAML services file containing:
|
||||||
"""
|
"""
|
||||||
services:
|
services:
|
||||||
App\Tests\SomeContext:
|
App\Tests\SomeContext:
|
||||||
public: true
|
public: true
|
||||||
arguments:
|
arguments:
|
||||||
- '@behat.mink'
|
- '@behat.mink'
|
||||||
- '@behat.driver.service_container'
|
- '@behat.driver.service_container'
|
||||||
"""
|
"""
|
||||||
When I run Behat
|
When I run Behat
|
||||||
Then it should pass
|
Then it should pass
|
||||||
|
|
||||||
Scenario: Accessing a service from driver's service container (autowired & autoconfigured dependencies)
|
Scenario: Accessing a service from driver's service container (autowired & autoconfigured dependencies)
|
||||||
Given a YAML services file containing:
|
Given a YAML services file containing:
|
||||||
"""
|
"""
|
||||||
services:
|
services:
|
||||||
_defaults:
|
_defaults:
|
||||||
autowire: true
|
autowire: true
|
||||||
autoconfigure: true
|
autoconfigure: true
|
||||||
|
|
||||||
App\Tests\SomeContext: ~
|
App\Tests\SomeContext: ~
|
||||||
"""
|
"""
|
||||||
When I run Behat
|
When I run Behat
|
||||||
Then it should pass
|
Then it should pass
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||||||
use Symfony\Component\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
||||||
use Symfony\Component\HttpKernel\Kernel;
|
|
||||||
use Symfony\Component\HttpKernel\KernelInterface;
|
use Symfony\Component\HttpKernel\KernelInterface;
|
||||||
|
|
||||||
final class FriendsOfBehatSymfonyExtensionExtension extends Extension implements CompilerPassInterface
|
final class FriendsOfBehatSymfonyExtensionExtension extends Extension implements CompilerPassInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user