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 — master ( 0268aa...3ec9bd )
by cao
05:24
created
src/Console/ConsoleContainerBuilder.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         if($annotations){
38 38
             parent::__construct($annotations, $cache);
39
-        }else{
39
+        } else{
40 40
             parent::__construct(self::$DEFAULT_ANNOTATIONS, $cache);
41 41
         }
42 42
         $this->factory = $factory;
Please login to merge, or discard this patch.
src/Console/Command.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,13 +105,13 @@  discard block
 block discarded – undo
105 105
                 }
106 106
                 if($meta->container){
107 107
                     $inputs[$meta->name] = $meta->container->make($source);
108
-                }else{
108
+                } else{
109 109
                     $inputs[$meta->name] = $source;
110 110
                 }
111 111
                 if($meta->validation){
112 112
                     $vld->rule($meta->validation, $meta->name);
113 113
                 }
114
-            }else{
114
+            } else{
115 115
                 $meta->isOptional or \PhpBoot\abort(new \InvalidArgumentException("the parameter \"{$meta->source}\" is missing"));
116 116
                 $inputs[$meta->name] = $meta->default;
117 117
             }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         foreach ($this->paramMetas as $meta){
131 131
             if($meta->isPassedByReference){
132 132
                 $params[$pos] = null;
133
-            }else{
133
+            } else{
134 134
                 $params[$pos] = $inputs[$meta->name];
135 135
             }
136 136
             $pos++;
Please login to merge, or discard this patch.
src/Console/Annotations/ParamAnnotationHandler.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
             $params = new AnnotationParams($text, 2);
26 26
             $paramName = substr($params->getParam(0), 1);
27 27
             $paramDoc = $params->getRawParam(1, '');
28
-        }else{
28
+        } else{
29 29
             $params = new AnnotationParams($text, 3);
30 30
             if ($params->count() >=2 && substr($params->getParam(1), 0, 1) == '$'){
31 31
                 $paramType = $params->getParam(0); //TODO 检测类型是否合法
32 32
                 $paramName = substr($params->getParam(1), 1);
33 33
                 $paramDoc = $params->getRawParam(2, '');
34
-            }else{
34
+            } else{
35 35
                 \PhpBoot\abort(new AnnotationSyntaxException("@param $text syntax error"));
36 36
             }
37 37
         }
Please login to merge, or discard this patch.
src/Console/Annotations/ValidateAnnotationHandler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $paramMeta = $command->getParamMeta($paramName);
39 39
             if($params->count()>1){
40 40
                 $paramMeta->validation = [$params[0], $params[1]];
41
-            }else{
41
+            } else{
42 42
                 $paramMeta->validation = $params[0];
43 43
                 if($paramMeta->validation) {
44 44
                     $v = new Validator();
Please login to merge, or discard this patch.