GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 66c291...444f0e )
by Bruno
03:49
created

PlaceholderContainerStepNode   A

Complexity

Total Complexity 12

Size/Duplication

Total Lines 64
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 12
lcom 1
cbo 1
dl 0
loc 64
rs 10
c 0
b 0
f 0

12 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getArguments() 0 3 1
A getKeyword() 0 3 1
A getKeywordType() 0 3 1
A getLine() 0 3 1
A getNodeType() 0 3 1
A getText() 0 3 1
A getType() 0 3 1
A hasArguments() 0 3 1
A getConfigKey() 0 3 1
A getSectionKey() 0 3 1
A getVariant() 0 3 1
1
<?php
2
3
4
namespace Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer;
5
6
use Behat\Gherkin\Node\StepNode;
7
8
/**
9
 * Description of DecoratedStepNode
10
 *
11
 * @author bwowk
12
 */
13
class PlaceholderContainerStepNode extends StepNode implements PlaceholderContainer{
14
    
15
    private $stepNode;
16
    
17
    private $variant;
18
    
19
    private $configKey;
20
    
21
    private $sectionKey;
22
    
23
    function __construct($stepNode,$configKey, $sectionKey,  $variant) {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
24
        $this->stepNode = $stepNode;
25
        $this->configKey = $configKey;
26
        $this->sectionKey = $sectionKey;
27
        $this->variant = $variant;
28
    }
29
30
    
31
    public function getArguments() {
32
        return $this->stepNode->getArguments();
33
    }
34
35
    public function getKeyword() {
36
        return $this->stepNode->getKeyword();
37
    }
38
39
    public function getKeywordType() {
40
        return $this->stepNode->getKeywordType();
41
    }
42
43
    public function getLine() {
44
        return $this->stepNode->getLine();
45
    }
46
47
    public function getNodeType() {
48
        return $this->stepNode->getNodeType();
49
    }
50
51
    public function getText() {
52
        return $this->stepNode->getText();
53
    }
54
55
    public function getType() {
56
        return $this->stepNode->getType();
57
    }
58
59
    public function hasArguments() {
60
        return $this->stepNode->hasArguments();
61
    }
62
63
    public function getConfigKey() {
64
        return $this->configKey;
65
    }
66
67
    public function getSectionKey() {
68
        return $this->sectionKey;
69
    }
70
71
    public function getVariant() {
72
        return $this->variant;
73
    }
74
75
76
}
77