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.
Passed
Push — master ( 9c3470...c852c0 )
by
unknown
02:52
created
src/Datastructures/Commons/Name.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -36,23 +36,23 @@
 block discarded – undo
36 36
             $name = [];
37 37
 
38 38
             if (count($parts) == 1) {
39
-                $name[ 'first' ] = $parts[ 0 ];
40
-                $name[ 'middle' ] = null;
41
-                $name[ 'last' ] = null;
39
+                $name['first'] = $parts[0];
40
+                $name['middle'] = null;
41
+                $name['last'] = null;
42 42
             } elseif (count($parts) == 2) {
43
-                $name[ 'first' ] = $parts[ 0 ];
44
-                $name[ 'middle' ] = null;
45
-                $name[ 'last' ] = $parts[ 1 ];
43
+                $name['first'] = $parts[0];
44
+                $name['middle'] = null;
45
+                $name['last'] = $parts[1];
46 46
             } elseif (count($parts) == 3) {
47
-                $name[ 'first' ] = $parts[ 0 ];
48
-                $name[ 'middle' ] = $parts[ 1 ];
49
-                $name[ 'last' ] = $parts[ 2 ];
47
+                $name['first'] = $parts[0];
48
+                $name['middle'] = $parts[1];
49
+                $name['last'] = $parts[2];
50 50
             } else {
51
-                $name[ 'first' ] = $parts[ 0 ];
52
-                $name[ 'middle' ] = $parts[ 1 ];
51
+                $name['first'] = $parts[0];
52
+                $name['middle'] = $parts[1];
53 53
 
54 54
                 $parts = array_slice($parts, 2);
55
-                $name[ 'last' ] = implode(' ', $parts);
55
+                $name['last'] = implode(' ', $parts);
56 56
             }
57 57
         }
58 58
 
Please login to merge, or discard this patch.
src/Cli/Commanders/Serve.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
         $options = input()->get();
95 95
 
96 96
         if (empty($options)) {
97
-            $_GET[ 'host' ] = 'localhost';
98
-            $_GET[ 'port' ] = 8000;
97
+            $_GET['host'] = 'localhost';
98
+            $_GET['port'] = 8000;
99 99
         }
100 100
 
101 101
         parent::execute();
@@ -107,12 +107,12 @@  discard block
 block discarded – undo
107 107
                 ->setNewLinesAfter(1)
108 108
         );
109 109
 
110
-        $_SERVER[ 'DOCUMENT_ROOT' ] = PATH_PUBLIC;
110
+        $_SERVER['DOCUMENT_ROOT'] = PATH_PUBLIC;
111 111
 
112 112
         output()->write(
113 113
             (new Format())
114 114
                 ->setContextualClass(Format::INFO)
115
-                ->setString(language()->getLine('CLI_SERVE_DOC_ROOT', [$_SERVER[ 'DOCUMENT_ROOT' ]]))
115
+                ->setString(language()->getLine('CLI_SERVE_DOC_ROOT', [$_SERVER['DOCUMENT_ROOT']]))
116 116
                 ->setNewLinesAfter(1)
117 117
         );
118 118
 
Please login to merge, or discard this patch.
src/Cli/Commanders/Make/Presenter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
                     $subNamespace
86 86
                 )) . '\\';
87 87
 
88
-        $vars[ 'CREATE_DATETIME' ] = date('d/m/Y H:m');
89
-        $vars[ 'NAMESPACE' ] = trim($classNamespace, '\\');
90
-        $vars[ 'PACKAGE' ] = '\\' . trim($classNamespace, '\\');
91
-        $vars[ 'CLASS' ] = $className;
92
-        $vars[ 'FILEPATH' ] = $filePath;
88
+        $vars['CREATE_DATETIME'] = date('d/m/Y H:m');
89
+        $vars['NAMESPACE'] = trim($classNamespace, '\\');
90
+        $vars['PACKAGE'] = '\\' . trim($classNamespace, '\\');
91
+        $vars['CLASS'] = $className;
92
+        $vars['FILEPATH'] = $filePath;
93 93
 
94 94
         $phpTemplate = <<<PHPTEMPLATE
95 95
 <?php
Please login to merge, or discard this patch.
src/Cli/Commanders/Make/Module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function optionName($name)
40 40
     {
41
-        if(empty($this->optionPath)) {
41
+        if (empty($this->optionPath)) {
42 42
             $this->optionPath = PATH_APP . 'Modules' . DIRECTORY_SEPARATOR;
43 43
         }
44 44
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             exit(EXIT_ERROR);
86 86
         }
87 87
 
88
-        $jsProps[ 'name' ] = readable(
88
+        $jsProps['name'] = readable(
89 89
             pathinfo($modulePath, PATHINFO_FILENAME),
90 90
             true
91 91
         );
@@ -98,10 +98,10 @@  discard block
 block discarded – undo
98 98
                 ) . '\\';
99 99
         } else {
100 100
             $namespace = $this->namespace;
101
-            $jsProps[ 'namespace' ] = rtrim($namespace, '\\') . '\\';
101
+            $jsProps['namespace'] = rtrim($namespace, '\\') . '\\';
102 102
         }
103 103
 
104
-        $jsProps[ 'created' ] = date('d M Y');
104
+        $jsProps['created'] = date('d M Y');
105 105
 
106 106
         loader()->addNamespace($namespace, $modulePath);
107 107
 
Please login to merge, or discard this patch.
src/Cli/Commanders/Make/Helper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,13 +72,13 @@
 block discarded – undo
72 72
             exit(EXIT_ERROR);
73 73
         }
74 74
 
75
-        $vars[ 'CREATE_DATETIME' ] = date('d/m/Y H:m');
76
-        $vars[ 'HELPER' ] = underscore(
75
+        $vars['CREATE_DATETIME'] = date('d/m/Y H:m');
76
+        $vars['HELPER'] = underscore(
77 77
             snakecase(
78 78
                 pathinfo($filePath, PATHINFO_FILENAME)
79 79
             )
80 80
         );
81
-        $vars[ 'FILEPATH' ] = $filePath;
81
+        $vars['FILEPATH'] = $filePath;
82 82
 
83 83
         $phpTemplate = <<<PHPTEMPLATE
84 84
 <?php
Please login to merge, or discard this patch.
src/Cli/Commanders/Make/Widget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             exit(EXIT_ERROR);
69 69
         }
70 70
 
71
-        $jsProps[ 'name' ] = readable(
71
+        $jsProps['name'] = readable(
72 72
             pathinfo($widgetPath, PATHINFO_FILENAME),
73 73
             true
74 74
         );
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
                 ) . '\\';
82 82
         } else {
83 83
             $namespace = prepare_class_name($this->namespace);
84
-            $jsProps[ 'namespace' ] = rtrim($namespace, '\\') . '\\';
84
+            $jsProps['namespace'] = rtrim($namespace, '\\') . '\\';
85 85
         }
86 86
 
87
-        $jsProps[ 'created' ] = date('d M Y');
87
+        $jsProps['created'] = date('d M Y');
88 88
 
89 89
         loader()->addNamespace($namespace, $widgetPath);
90 90
 
Please login to merge, or discard this patch.
src/Cli/Commanders/Make/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,9 +72,9 @@
 block discarded – undo
72 72
             exit(EXIT_ERROR);
73 73
         }
74 74
 
75
-        $vars[ 'CREATE_DATETIME' ] = date('d/m/Y H:m');
76
-        $vars[ 'CONFIG' ] = '$' . camelcase(pathinfo($filePath, PATHINFO_FILENAME));
77
-        $vars[ 'FILEPATH' ] = $filePath;
75
+        $vars['CREATE_DATETIME'] = date('d/m/Y H:m');
76
+        $vars['CONFIG'] = '$' . camelcase(pathinfo($filePath, PATHINFO_FILENAME));
77
+        $vars['FILEPATH'] = $filePath;
78 78
 
79 79
         $phpTemplate = <<<PHPTEMPLATE
80 80
 <?php
Please login to merge, or discard this patch.
src/Cli/Commanders/Maintenance.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -151,16 +151,16 @@  discard block
 block discarded – undo
151 151
         $options = input()->get();
152 152
 
153 153
         if (empty($options)) {
154
-            $_GET[ 'switch' ] = 'ON';
155
-            $_GET[ 'mode' ] = 'default';
156
-            $_GET[ 'lifetime' ] = 300;
157
-            $_GET[ 'title' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
158
-            $_GET[ 'message' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
154
+            $_GET['switch'] = 'ON';
155
+            $_GET['mode'] = 'default';
156
+            $_GET['lifetime'] = 300;
157
+            $_GET['title'] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
158
+            $_GET['message'] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
159 159
         } else {
160
-            $_GET[ 'mode' ] = 'default';
161
-            $_GET[ 'lifetime' ] = 300;
162
-            $_GET[ 'title' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
163
-            $_GET[ 'message' ] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
160
+            $_GET['mode'] = 'default';
161
+            $_GET['lifetime'] = 300;
162
+            $_GET['title'] = language()->getLine(strtoupper('CLI_MAINTENANCE_TITLE'));
163
+            $_GET['message'] = language()->getLine(strtoupper('CLI_MAINTENANCE_MESSAGE'));
164 164
         }
165 165
 
166 166
         parent::execute();
@@ -173,11 +173,11 @@  discard block
 block discarded – undo
173 173
                     (new Format())
174 174
                         ->setContextualClass(Format::DANGER)
175 175
                         ->setString(language()->getLine('CLI_MAINTENANCE_ALREADY_STARTED', [
176
-                            $maintenanceInfo[ 'mode' ],
177
-                            $maintenanceInfo[ 'datetime' ],
178
-                            date('r', strtotime($maintenanceInfo[ 'datetime' ]) + $maintenanceInfo[ 'lifetime' ]),
179
-                            $maintenanceInfo[ 'title' ],
180
-                            $maintenanceInfo[ 'message' ],
176
+                            $maintenanceInfo['mode'],
177
+                            $maintenanceInfo['datetime'],
178
+                            date('r', strtotime($maintenanceInfo['datetime']) + $maintenanceInfo['lifetime']),
179
+                            $maintenanceInfo['title'],
180
+                            $maintenanceInfo['message'],
181 181
                         ]))
182 182
                         ->setNewLinesAfter(1)
183 183
                 );
Please login to merge, or discard this patch.
src/Cli/Commander.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 {
24 24
     public function &__get($property)
25 25
     {
26
-        $get[ $property ] = false;
26
+        $get[$property] = false;
27 27
 
28 28
         // CodeIgniter property aliasing
29 29
         if ($property === 'load') {
@@ -38,6 +38,6 @@  discard block
 block discarded – undo
38 38
             return models('controller');
39 39
         }
40 40
 
41
-        return $get[ $property ];
41
+        return $get[$property];
42 42
     }
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.