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 ( ed81f3...cf83d8 )
by Gabriel
05:44
created
src/Profiler/Profiler.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function setEnabled($enabled = false)
43 43
     {
44
-        $this->enabled = (boolean)$enabled;
44
+        $this->enabled = (boolean) $enabled;
45 45
         return $this;
46 46
     }
47 47
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         if (null === $minimumSeconds) {
216 216
             $this->filterElapsedSecs = null;
217 217
         } else {
218
-            $this->filterElapsedSecs = (integer)$minimumSeconds;
218
+            $this->filterElapsedSecs = (integer) $minimumSeconds;
219 219
         }
220 220
 
221 221
         return $this;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $this->enabled;
75 75
     }
76 76
 
77
+    /**
78
+     * @param boolean $name
79
+     */
77 80
     public function newProfileID($name)
78 81
     {
79 82
         if ($name) {
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
         return;
129 132
     }
130 133
 
134
+    /**
135
+     * @param boolean $profileID
136
+     */
131 137
     protected function endPreckeck($profileID)
132 138
     {
133 139
         if (!$this->checkEnabled()) {
@@ -230,7 +236,7 @@  discard block
 block discarded – undo
230 236
     }
231 237
 
232 238
     /**
233
-     * @param $name
239
+     * @param string $name
234 240
      * @return AbstractAdapter
235 241
      */
236 242
     public function newWriter($name)
Please login to merge, or discard this patch.
src/WebTerminal/Process.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
     public function getDescriptorSpec()
33 33
     {
34 34
         return array(
35
-            0 => array("pipe", "r"),  // stdin
36
-            1 => array("pipe", "w"),  // stdout -> we use this
35
+            0 => array("pipe", "r"), // stdin
36
+            1 => array("pipe", "w"), // stdout -> we use this
37 37
             2 => array("pipe", "w")   // stderr
38 38
         );
39 39
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 break;
61 61
             }
62 62
             if ($this->isVerbose()) {
63
-                echo $returnLine."\n";
63
+                echo $returnLine . "\n";
64 64
             }
65 65
             ob_flush();
66 66
             flush();
Please login to merge, or discard this patch.
src/WebTerminal/Terminal.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function initHTML()
28 28
     {
29
-        require(dirname(__FILE__).'/Layout/header.html');
29
+        require(dirname(__FILE__) . '/Layout/header.html');
30 30
     }
31 31
 
32 32
     public function printHeader()
33 33
     {
34 34
         echo '
35 35
 Checking the environment ...
36
-Running as <b>'.$this->getRunUser().'</b>.
36
+Running as <b>'.$this->getRunUser() . '</b>.
37 37
 ';
38 38
     }
39 39
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function checkRequiredBinary($binary)
58 58
     {
59
-        $shellCommand = $this->getCommand('which').' '.$binary;
59
+        $shellCommand = $this->getCommand('which') . ' ' . $binary;
60 60
         $process = $this->runProcess($shellCommand, false);
61 61
         $path = $process->getReturn();
62 62
         $this->checkRequiredBinaryPath($path, $shellCommand, $binary);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 <div class="error">
106 106
 Error encountered!
107 107
 Stopping the script to prevent possible data loss.
108
-ERROR CODE ['.$process->getExitCode().']
108
+ERROR CODE ['.$process->getExitCode() . ']
109 109
 </div>
110 110
 ';
111 111
     }
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
                     [%s]
119 119
                 </div>', $binary, $shellCommand));
120 120
         } else {
121
-            $version = explode("\n", shell_exec($binary.' --version'));
122
-            printf('<b>%s</b> : %s'."\n", $path, $version[0]);
121
+            $version = explode("\n", shell_exec($binary . ' --version'));
122
+            printf('<b>%s</b> : %s' . "\n", $path, $version[0]);
123 123
         }
124 124
     }
125 125
 
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     {
139 139
         echo '
140 140
 Environment OK.
141
-Deploying ['.__DIR__.']
142
-Run Commands on ['.getcwd()."]\n";
141
+Deploying ['.__DIR__ . ']
142
+Run Commands on ['.getcwd() . "]\n";
143 143
     }
144 144
 
145 145
     public function runCommands()
@@ -155,13 +155,13 @@  discard block
 block discarded – undo
155 155
         $this->printCommand($command);
156 156
         echo '<div class="output">';
157 157
         $process = $this->runProcess($command);
158
-        echo 'Exit Code ['.$process->getExitCode().']'."\n";
158
+        echo 'Exit Code [' . $process->getExitCode() . ']' . "\n";
159 159
         echo '</div>';
160 160
     }
161 161
 
162 162
     public function printCommand($command)
163 163
     {
164
-        echo '<span class="prompt">$</span> <span class="command">'.$command.'</span>';
164
+        echo '<span class="prompt">$</span> <span class="command">' . $command . '</span>';
165 165
     }
166 166
 
167 167
     public function postDispatch()
Please login to merge, or discard this patch.
src/Container/Traits/ContainerPersistenceTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * Set the shared instance of the container.
33 33
      *
34 34
      * @param  ContainerInterface|null $container
35
-     * @return static
35
+     * @return null|ContainerInterface
36 36
      */
37 37
     public static function setInstance(ContainerInterface $container = null)
38 38
     {
Please login to merge, or discard this patch.
src/Database/Connections/Connection.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $adapter
121
+     * @param AbstractAdapter $adapter
122 122
      */
123 123
     public function setAdapter($adapter)
124 124
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param $name
134
+     * @param string $name
135 135
      */
136 136
     public function setAdapterName($name)
137 137
     {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param mixed $database
170
+     * @param string $database
171 171
      */
172 172
     public function setDatabase($database)
173 173
     {
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     }
297 297
 
298 298
     /**
299
-     * @param $table
299
+     * @param null|string $table
300 300
      * @return mixed
301 301
      */
302 302
     public function describeTable($table)
Please login to merge, or discard this patch.
src/Database/Connections/ConnectionFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      * Create a new connection instance.
77 77
      *
78 78
      * @param  string $driver
79
-     * @param  \PDO|\Closure $connection
79
+     * @param  boolean $connection
80 80
      * @param  string $database
81 81
      * @param  string $prefix
82 82
      * @param  array $config
Please login to merge, or discard this patch.
src/Database/Query/AbstractQuery.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param null $generated
83
+     * @param boolean $generated
84 84
      * @return bool
85 85
      */
86 86
     public function isGenerated($generated = null)
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     }
237 237
 
238 238
     /**
239
-     * @param $start
239
+     * @param integer $start
240 240
      * @param bool $offset
241 241
      * @return $this
242 242
      */
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
     }
385 385
 
386 386
     /**
387
-     * @param $name
387
+     * @param string $name
388 388
      * @return mixed|null
389 389
      */
390 390
     public function getPart($name)
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
     }
416 416
 
417 417
     /**
418
-     * @return mixed
418
+     * @return string
419 419
      */
420 420
     protected function getTable()
421 421
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     {
151 151
         if (isset($params['where']) && is_array($params['where'])) {
152 152
             foreach ($params['where'] as $condition) {
153
-                $condition = (array)$condition;
153
+                $condition = (array) $condition;
154 154
                 $this->where(
155 155
                     $condition[0],
156 156
                     isset($condition[1]) ? $condition[1] : null
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     public function getString()
330 330
     {
331 331
         if ($this->string === null) {
332
-            $this->string = (string)$this->assemble();
332
+            $this->string = (string) $this->assemble();
333 333
         }
334 334
 
335 335
         return $this->string;
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      */
368 368
     protected function parseWhere()
369 369
     {
370
-        return is_object($this->parts['where']) ? (string)$this->parts['where'] : '';
370
+        return is_object($this->parts['where']) ? (string) $this->parts['where'] : '';
371 371
     }
372 372
 
373 373
     /**
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
     protected function parseHaving()
433 433
     {
434 434
         if (isset($this->parts['having'])) {
435
-            return (string)$this->parts['having'];
435
+            return (string) $this->parts['having'];
436 436
         }
437 437
 
438 438
         return '';
Please login to merge, or discard this patch.
src/Database/Query/Insert.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_values;
15 15
 
16 16
     /**
17
-     * @return null
17
+     * @return string
18 18
      */
19 19
     public function assemble()
20 20
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return bool|string
51
+     * @return string|false
52 52
      */
53 53
     public function parseValues()
54 54
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function parseValues()
54 54
     {
55 55
         if ($this->_values instanceof AbstractQuery) {
56
-            return ' ' . (string)$this->_values;
56
+            return ' ' . (string) $this->_values;
57 57
         } elseif (is_array($this->parts['data'])) {
58 58
             return $this->parseData();
59 59
         }
Please login to merge, or discard this patch.
src/Dispatcher/Dispatcher.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param $name
39
+     * @param boolean $name
40 40
      * @return mixed
41 41
      */
42 42
     public static function formatActionName($name)
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param $name
131
+     * @param string $name
132 132
      * @return mixed
133 133
      */
134 134
     public function formatModuleName($name)
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     }
140 140
 
141 141
     /**
142
-     * @param $name
142
+     * @param string $name
143 143
      * @return mixed
144 144
      */
145 145
     public function formatControllerName($name)
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
     /**
177
-     * @param $namespaceClass
177
+     * @param string $namespaceClass
178 178
      * @return bool
179 179
      */
180 180
     protected function isValidControllerNamespace($namespaceClass)
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-     * @param $class
193
+     * @param string $class
194 194
      * @return Controller
195 195
      */
196 196
     public function newController($class)
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
         if ($this->hops <= $this->maxHops) {
65 65
             if ($request->getControllerName() == null) {
66
-                throw new Exception('No valid controller name in request ['.$request->getMCA().']');
66
+                throw new Exception('No valid controller name in request [' . $request->getMCA() . ']');
67 67
             }
68 68
 
69 69
             $controller = $this->generateController($request);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                     return $return;
81 81
                 }
82 82
             } else {
83
-                throw new Exception('Error finding a valid controller for ['.$request->getMCA().']');
83
+                throw new Exception('Error finding a valid controller for [' . $request->getMCA() . ']');
84 84
             }
85 85
         } else {
86 86
             throw new Exception("Maximum number of hops ($this->maxHops) has been reached for {$request->getMCA()}");
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
             }
124 124
         }
125 125
         throw new Exception(
126
-            'Error finding a valid controller ['.$namespaceClass.']['.$classicClass.'] for ['.$request->getMCA().']'
126
+            'Error finding a valid controller [' . $namespaceClass . '][' . $classicClass . '] for [' . $request->getMCA() . ']'
127 127
         );
128 128
     }
129 129
 
Please login to merge, or discard this patch.