FeatureContext::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
use Behat\MinkExtension\Context\MinkContext;
4
use Behat\Gherkin\Node\PyStringNode;
5
use Behat\Gherkin\Node\TableNode;
6
use Behat\Behat\Tester\Exception\PendingException;
7
use Behat\Behat\Context\Context;
8
9
/**
10
 * Defines application features from the specific context.
11
 */
12
class FeatureContext implements Context
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
13
{
14
    /**
15
     * Initializes context.
16
     *
17
     * Every scenario gets its own context instance.
18
     * You can also pass arbitrary arguments to the
19
     * context constructor through behat.yml.
20
     */
21
    public function __construct()
22
    {
23
    }
24
}
25