PhpSpecRunContext   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 1
c 0
b 0
f 0
dl 0
loc 14
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A iRun() 0 2 1
A iConfigurePhpSpec() 0 2 1
A iRunWithConfig() 0 2 1
1
<?php
2
3
4
namespace Doyo\PhpSpec\CodeCoverage\Context;
5
6
7
use Behat\Behat\Context\Context;
8
use Behat\Gherkin\Node\PyStringNode;
9
10
class PhpSpecRunContext implements Context
11
{
12
    public function iConfigurePhpSpec()
13
    {
14
15
    }
16
17
    public function iRunWithConfig(PyStringNode $node)
0 ignored issues
show
Unused Code introduced by
The parameter $node is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

17
    public function iRunWithConfig(/** @scrutinizer ignore-unused */ PyStringNode $node)

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

Loading history...
18
    {
19
20
    }
21
22
    public function iRun()
23
    {
24
25
    }
26
}