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 ( 487d86...e7f64d )
by
unknown
02:27
created
src/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * @param $className
17 17
  */
18 18
 spl_autoload_register(
19
-    function ($className) {
19
+    function($className) {
20 20
         if (strpos($className, 'O2System\Psr\\') === false) {
21 21
             return;
22 22
         }
Please login to merge, or discard this patch.
src/Patterns/Structural/Provider/AbstractProvider.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             }
104 104
 
105 105
             if ( ! $this->__isset($offset)) {
106
-                $this->registry[ $offset ] = $object;
106
+                $this->registry[$offset] = $object;
107 107
             }
108 108
         }
109 109
     }
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function exists($offset)
140 140
     {
141
-        return (bool)isset($this->registry[ $offset ]);
141
+        return (bool)isset($this->registry[$offset]);
142 142
     }
143 143
 
144 144
     // ------------------------------------------------------------------------
@@ -155,13 +155,13 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function &getObject($offset)
157 157
     {
158
-        $get[ $offset ] = null;
158
+        $get[$offset] = null;
159 159
 
160 160
         if ($this->__isset($offset)) {
161
-            return $this->registry[ $offset ];
161
+            return $this->registry[$offset];
162 162
         }
163 163
 
164
-        return $get[ $offset ];
164
+        return $get[$offset];
165 165
     }
166 166
 
167 167
     // ------------------------------------------------------------------------
@@ -195,11 +195,11 @@  discard block
 block discarded – undo
195 195
     public function remove($offset)
196 196
     {
197 197
         if ($this->__isset($offset)) {
198
-            if (method_exists($this->registry[ $offset ], '__destruct')) {
199
-                $this->registry[ $offset ]->__destruct();
198
+            if (method_exists($this->registry[$offset], '__destruct')) {
199
+                $this->registry[$offset]->__destruct();
200 200
             }
201 201
 
202
-            unset($this->registry[ $offset ]);
202
+            unset($this->registry[$offset]);
203 203
         }
204 204
     }
205 205
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
             if (method_exists($object, '__destruct')) {
219 219
                 $object->__destruct();
220 220
             }
221
-            unset($this->registry[ $offset ]);
221
+            unset($this->registry[$offset]);
222 222
         }
223 223
     }
224 224
 
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     final public function getObjectHash($offset)
237 237
     {
238 238
         if ($this->__isset($offset)) {
239
-            return spl_object_hash($this->registry[ $offset ]);
239
+            return spl_object_hash($this->registry[$offset]);
240 240
         }
241 241
 
242 242
         return false;
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     final public function getObjectId($offset)
257 257
     {
258 258
         if ($this->__isset($offset)) {
259
-            return spl_object_id($this->registry[ $offset ]);
259
+            return spl_object_id($this->registry[$offset]);
260 260
         }
261 261
 
262 262
         return false;
Please login to merge, or discard this patch.
src/Patterns/Structural/Repository/AbstractRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function store($offset, $data)
109 109
     {
110
-        $this->storage[ $offset ] = $data;
110
+        $this->storage[$offset] = $data;
111 111
     }
112 112
 
113 113
     // ------------------------------------------------------------------------
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     public function get($offset)
126 126
     {
127 127
         if ($this->__isset($offset)) {
128
-            return $this->storage[ $offset ];
128
+            return $this->storage[$offset];
129 129
         }
130 130
     }
131 131
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     public function exists($offset)
163 163
     {
164
-        return (bool)isset($this->storage[ $offset ]);
164
+        return (bool)isset($this->storage[$offset]);
165 165
     }
166 166
 
167 167
     // ------------------------------------------------------------------------
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     public function remove($offset)
237 237
     {
238 238
         if ($this->__isset($offset)) {
239
-            unset($this->storage[ $offset ]);
239
+            unset($this->storage[$offset]);
240 240
         }
241 241
     }
242 242
 
@@ -330,9 +330,9 @@  discard block
 block discarded – undo
330 330
     public function search($offset, $return = false)
331 331
     {
332 332
         if (array_key_exists($offset, $this->storage)) {
333
-            return $this->storage[ $offset ];
333
+            return $this->storage[$offset];
334 334
         } elseif (false !== ($offsetKey = array_search($offset, $this->storage))) {
335
-            return $this->storage[ $offsetKey ];
335
+            return $this->storage[$offsetKey];
336 336
         }
337 337
 
338 338
         return $return;
Please login to merge, or discard this patch.
src/Patterns/Creational/Singleton/AbstractSingleton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected function __construct()
38 38
     {
39
-        static::$instance =& $this;
39
+        static::$instance = & $this;
40 40
     }
41 41
 
42 42
     // ------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/Http/Header/ResponseStatusInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -860,7 +860,7 @@
 block discarded – undo
860 860
      *
861 861
      * @var int
862 862
      */
863
-    const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509;  // Apache bw/limited extension
863
+    const STATUS_BANDWIDTH_LIMIT_EXCEEDED = 509; // Apache bw/limited extension
864 864
 
865 865
     /**
866 866
      * 510 Not Extended
Please login to merge, or discard this patch.