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 ( 929f76...e88f87 )
by Bruno
02:10
created
Ciandt/Behat/PlaceholdersExtension/Tester/StepDecoratingScenarioTester.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  *
21 21
  * @author bwowk
22 22
  */
23
-class StepDecoratingScenarioTester implements ScenarioTester{
23
+class StepDecoratingScenarioTester implements ScenarioTester {
24 24
     
25 25
     private $baseTester;
26 26
     private $configKey;
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
     public function test(Environment $env, FeatureNode $feature, ScenarioInterface $scenario, $skip) {
43 43
         $scenarioTags = $scenario->getTags();
44 44
         $featureTags = $feature->getTags();
45
-        $tags = array_merge($scenarioTags,$featureTags);
45
+        $tags = array_merge($scenarioTags, $featureTags);
46 46
         // If there's no config tag, proceed with undecorated steps
47
-        if (!PlaceholderUtils::getConfigTag($tags)){
47
+        if (!PlaceholderUtils::getConfigTag($tags)) {
48 48
             return $this->baseTester->test($env, $feature, $scenario, $skip);
49 49
         }
50 50
         // detect config and variant tags
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
         return $this->baseTester->test($env, $decoratedFeature, $decoratedScenario, $skip);
56 56
     }
57 57
     
58
-    private function decorateScenarioSteps(ScenarioInterface $undecoratedScenario){
58
+    private function decorateScenarioSteps(ScenarioInterface $undecoratedScenario) {
59 59
         $decoratedSteps = array();
60
-        foreach ($undecoratedScenario->getSteps() as $step){
60
+        foreach ($undecoratedScenario->getSteps() as $step) {
61 61
             $decoratedSteps[] = new PlaceholderContainerStepNode(
62 62
                     $step,
63 63
                     $this->configKey,
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                 $undecoratedScenario->getLine());
73 73
     }
74 74
     
75
-    private function scanMeaningfulTags($tags){
75
+    private function scanMeaningfulTags($tags) {
76 76
         $configTag = PlaceholderUtils::getConfigTag($tags);
77 77
         $this->configKey = PlaceholderUtils::getConfigKey($configTag);
78 78
         $this->sectionKey = PlaceholderUtils::getSectionKey($configTag);
@@ -80,13 +80,13 @@  discard block
 block discarded – undo
80 80
         $this->variant = PlaceholderUtils::getVariant($tags);
81 81
     }
82 82
     
83
-    private function decorateBackgroundSteps(FeatureNode $feature){
83
+    private function decorateBackgroundSteps(FeatureNode $feature) {
84 84
         if (!$feature->hasBackground()) {
85 85
             return $feature;
86 86
         }
87 87
         $undecoratedBackground = $feature->getBackground();
88 88
         $decoratedSteps = array();
89
-        foreach ($undecoratedBackground->getSteps() as $step){
89
+        foreach ($undecoratedBackground->getSteps() as $step) {
90 90
             $decoratedSteps[] = new PlaceholderContainerStepNode(
91 91
                     $step,
92 92
                     $this->configKey,
Please login to merge, or discard this patch.