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.
Test Failed
Push — master ( d98247...8bca22 )
by Gabriel
05:10
created
src/Records/Properties/Definitions/Definition.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
         $items = $this->getItems();
52 52
         if (!$this->hasItem($name)) {
53 53
             throw new Exception(
54
-                'Bad Item ['.$name.'] for smart property 
55
-                ['.$this->getManager()->getController().']['.$this->getName().']');
54
+                'Bad Item [' . $name . '] for smart property 
55
+                ['.$this->getManager()->getController() . '][' . $this->getName() . ']');
56 56
         }
57 57
 
58 58
         return $items[$name];
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function getItemsNamesFromManager()
99 99
     {
100
-        $methodName = 'get'.$this->getName().'Names';
100
+        $methodName = 'get' . $this->getName() . 'Names';
101 101
         if (method_exists($this->getManager(), $methodName)) {
102 102
             return $this->getManager()->$methodName();
103 103
         }
@@ -198,12 +198,12 @@  discard block
 block discarded – undo
198 198
      */
199 199
     public function generateItemsDirectory()
200 200
     {
201
-        $methodName = 'get'.$this->getName().'ItemsDirectory';
201
+        $methodName = 'get' . $this->getName() . 'ItemsDirectory';
202 202
         if (method_exists($this->getManager(), $methodName)) {
203 203
             return $this->getManager()->$methodName();
204 204
         }
205 205
 
206
-        return $this->generateManagerDirectory().DIRECTORY_SEPARATOR.$this->generatePropertyDirectory();
206
+        return $this->generateManagerDirectory() . DIRECTORY_SEPARATOR . $this->generatePropertyDirectory();
207 207
     }
208 208
 
209 209
     /**
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     {
290 290
         $type = $type ? $type : $this->getDefaultValue();
291 291
 
292
-        return $this->getPropertyItemsRootNamespace().inflector()->classify($type);
292
+        return $this->getPropertyItemsRootNamespace() . inflector()->classify($type);
293 293
     }
294 294
 
295 295
     /**
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      */
330 330
     protected function getDefaultValueFromManager()
331 331
     {
332
-        $method = 'getDefault'.$this->getName();
332
+        $method = 'getDefault' . $this->getName();
333 333
         if (method_exists($this->getManager(), $method)) {
334 334
             return $this->getManager()->{$method}();
335 335
         }
@@ -353,11 +353,11 @@  discard block
 block discarded – undo
353 353
      */
354 354
     protected function getPropertyItemsRootNamespace()
355 355
     {
356
-        $method = 'get'.$this->getName().'ItemsRootNamespace';
356
+        $method = 'get' . $this->getName() . 'ItemsRootNamespace';
357 357
         if (method_exists($this->getManager(), $method)) {
358 358
             return $this->getManager()->{$method}();
359 359
         }
360
-        return $this->getManager()->getModelNamespace().$this->getLabel().'\\';
360
+        return $this->getManager()->getModelNamespace() . $this->getLabel() . '\\';
361 361
     }
362 362
 
363 363
     /**
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
         $items = $this->getItems();
371 371
 
372 372
         foreach ($items as $type) {
373
-            $method = 'get'.ucfirst($name);
373
+            $method = 'get' . ucfirst($name);
374 374
             if (method_exists($type, $method)) {
375 375
                 $return[] = $type->$method();
376 376
             } else {
Please login to merge, or discard this patch.