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 — develop ( b6562d...080777 )
by Stuart
08:15
created
src/php/DataSift/Storyplayer/OutputLib/OutputPlugin.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     public function addOutputToFile($filename)
99 99
     {
100 100
         // make sure $filename isn't a reserved name
101
-        switch($filename)
101
+        switch ($filename)
102 102
         {
103 103
             case 'stdout':
104 104
             case 'stderr':
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
     public function addOutputToFile($filename)
99 99
     {
100 100
         // make sure $filename isn't a reserved name
101
-        switch($filename)
102
-        {
101
+        switch($filename) {
103 102
             case 'stdout':
104 103
             case 'stderr':
105 104
             case 'null':
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/OutputLib/OutputWriter.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,8 +230,8 @@
 block discarded – undo
230 230
     {
231 231
         // if we get here, then yes we do
232 232
         return sprintf(ConsoleColor::ESCAPE_SEQUENCE, \implode(';', $style))
233
-               . $output
234
-               . sprintf(ConsoleColor::ESCAPE_SEQUENCE, ConsoleColor::NONE);
233
+                . $output
234
+                . sprintf(ConsoleColor::ESCAPE_SEQUENCE, ConsoleColor::NONE);
235 235
     }
236 236
 
237 237
     // ==================================================================
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     public $argumentsHeadingStyle = null;
83 83
     public $failedPhaseStyle = null;
84 84
 
85
-    protected $outputHandles  = [];
85
+    protected $outputHandles = [];
86 86
 
87 87
     public function __construct()
88 88
     {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,8 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
     public function setColourMode($mode)
173 173
     {
174
-        switch ($mode)
175
-        {
174
+        switch ($mode) {
176 175
             case OutputPlugin::COLOUR_MODE_OFF:
177 176
                 foreach ($this->outputHandles as $index => $outputHandle) {
178 177
                     if ($outputHandle['colour']) {
@@ -183,8 +182,7 @@  discard block
 block discarded – undo
183 182
 
184 183
             case OutputPlugin::COLOUR_MODE_ON:
185 184
                 foreach ($this->outputHandles as $index => $outputHandle) {
186
-                    switch ($index)
187
-                    {
185
+                    switch ($index) {
188 186
                         case 'stdout':
189 187
                         case 'stderr':
190 188
                             $this->outputHandles[$index]['colour'] = true;
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/ActionPhase.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
         $phaseResult = $this->getNewPhaseResult();
74 74
 
75 75
         // do we have anything to do?
76
-        if (!$story->hasActions())
77
-        {
76
+        if (!$story->hasActions()) {
78 77
             $phaseResult->setContinuePlaying(
79 78
                 $phaseResult::HASNOACTIONS,
80 79
                 "story has no action instructions"
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/Phase.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@  discard block
 block discarded – undo
113 113
         $story = $st->getStory();
114 114
 
115 115
         // do we have anything to do?
116
-        if (!$story->hasPerPhaseSetup())
117
-        {
116
+        if (!$story->hasPerPhaseSetup()) {
118 117
             return;
119 118
         }
120 119
 
@@ -136,8 +135,7 @@  discard block
 block discarded – undo
136 135
         $story = $st->getStory();
137 136
 
138 137
         // do we have anything to do?
139
-        if ($story->hasPerPhaseTeardown())
140
-        {
138
+        if ($story->hasPerPhaseTeardown()) {
141 139
             // get the callback to call
142 140
             $callbacks = $story->getPerPhaseTeardown();
143 141
 
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/PostTestInspectionPhase.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
 
76 76
         try {
77 77
             // do we have anything to do?
78
-            if (!$story->hasPostTestInspection())
79
-            {
78
+            if (!$story->hasPostTestInspection()) {
80 79
                 $phaseResult->setContinuePlaying(
81 80
                     $phaseResult::HASNOACTIONS,
82 81
                     "story has no post-test inspection instructions"
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/PreTestInspectionPhase.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
         $phaseResult = $this->getNewPhaseResult();
74 74
 
75 75
         // do we have anything to do?
76
-        if (!$story->hasPreTestInspection())
77
-        {
76
+        if (!$story->hasPreTestInspection()) {
78 77
             $phaseResult->setContinuePlaying(
79 78
                 $phaseResult::HASNOACTIONS,
80 79
                 "story has no pre-test inspection instructions"
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/PreTestPredictionPhase.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
 
76 76
         try {
77 77
             // do we have anything to do?
78
-            if (!$story->hasPreTestPrediction())
79
-            {
78
+            if (!$story->hasPreTestPrediction()) {
80 79
                 $phaseResult->setContinuePlaying(
81 80
                     $phaseResult::HASNOACTIONS,
82 81
                     "story has no pre-test prediction instructions; skipping"
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/StartupHandlersPhase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     public function doPhase($phaseResults)
65 65
     {
66 66
         // shorthand
67
-        $st      = $this->st;
67
+        $st = $this->st;
68 68
 
69 69
         // our result object
70 70
         $phaseResult = $this->getNewPhaseResult();
Please login to merge, or discard this patch.
src/php/DataSift/Storyplayer/Phases/TableHandlersHelper.php 3 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
 
60 60
 class TableHandlersHelper
61 61
 {
62
-	/**
63
-	 * @param string $type
64
-	 */
65
-	public function runHandlers(StoryTeller $st, $type)
66
-	{
67
-		// shorthand
68
-		$output = $st->getOutput();
62
+    /**
63
+     * @param string $type
64
+     */
65
+    public function runHandlers(StoryTeller $st, $type)
66
+    {
67
+        // shorthand
68
+        $output = $st->getOutput();
69 69
 
70 70
         // Do we have any persistent tables to cleanup?
71 71
         $runtimeConfig = $st->getRuntimeConfig();
@@ -103,5 +103,5 @@  discard block
 block discarded – undo
103 103
             }
104 104
             exit(1);
105 105
         }
106
-	}
106
+    }
107 107
 }
108 108
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
         // Do we have any persistent tables to cleanup?
71 71
         $runtimeConfig = $st->getRuntimeConfig();
72
-        if (!isset($runtimeConfig->storyplayer, $runtimeConfig->storyplayer->tables)){
72
+        if (!isset($runtimeConfig->storyplayer, $runtimeConfig->storyplayer->tables)) {
73 73
             // there are no tables at all
74 74
             return;
75 75
         }
@@ -83,12 +83,12 @@  discard block
 block discarded – undo
83 83
 
84 84
         // Take a look at all of our process list tables
85 85
         foreach ($runtimeConfig->storyplayer->tables as $key => $value) {
86
-            $className = "cleanup".ucfirst($key);
86
+            $className = "cleanup" . ucfirst($key);
87 87
             try {
88 88
                 $st->$className($key)->$type();
89
-            } catch(E5xx_NoMatchingActions $e){
89
+            } catch (E5xx_NoMatchingActions $e) {
90 90
                 // We don't know about a cleanup module for this, SHOUT LOUDLY
91
-                $missingCleanupHandlers[] = "Missing cleanup module for '{$key}'".PHP_EOL;
91
+                $missingCleanupHandlers[] = "Missing cleanup module for '{$key}'" . PHP_EOL;
92 92
             }
93 93
         }
94 94
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
         // Do we have any persistent tables to cleanup?
71 71
         $runtimeConfig = $st->getRuntimeConfig();
72
-        if (!isset($runtimeConfig->storyplayer, $runtimeConfig->storyplayer->tables)){
72
+        if (!isset($runtimeConfig->storyplayer, $runtimeConfig->storyplayer->tables)) {
73 73
             // there are no tables at all
74 74
             return;
75 75
         }
@@ -86,7 +86,8 @@  discard block
 block discarded – undo
86 86
             $className = "cleanup".ucfirst($key);
87 87
             try {
88 88
                 $st->$className($key)->$type();
89
-            } catch(E5xx_NoMatchingActions $e){
89
+            }
90
+            catch(E5xx_NoMatchingActions $e) {
90 91
                 // We don't know about a cleanup module for this, SHOUT LOUDLY
91 92
                 $missingCleanupHandlers[] = "Missing cleanup module for '{$key}'".PHP_EOL;
92 93
             }
Please login to merge, or discard this patch.