Completed
Push — 3.8.x ( 12ed2a...d105af )
by Tim
06:29
created

FeatureContext::prependInstallDir()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
use Behat\Behat\Context\Context;
4
use Behat\MinkExtension\Context\MinkContext;
5
use Behat\Symfony2Extension\Context\KernelAwareContext;
6
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
7
8
/**
9
 * Defines application features from the specific context.
10
 */
11
class FeatureContext extends MinkContext implements Context, KernelAwareContext
12
{
13
14
    use Behat\Symfony2Extension\Context\KernelDictionary;
15
16
    /** @BeforeScenario */
17
    public function before(BeforeScenarioScope $scope)
0 ignored issues
show
Unused Code introduced by
The parameter $scope is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
18
    {
19
        $this->setMinkParameter('base_url', $this->getContainer()->getParameter('base_url'));
20
    }
21
}
22