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 ( 59446a...77a017 )
by Constantin
02:32
created
src/Gica/CodeAnalysis/AggregateEventHandlersValidator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param string $filePath
48
-     * @return bool
48
+     * @return integer
49 49
      */
50 50
     protected function isListenerFileName($filePath)
51 51
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param $className
78
+     * @param string $className
79 79
      * @throws \Exception
80 80
      */
81 81
     private function validateEventHandlersInClass($className)
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/MethodListenerDiscovery.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * @param string $filePath
80
-     * @return bool
80
+     * @return integer
81 81
      */
82 82
     protected function isListenerFileName($filePath)
83 83
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @param $className
147
+     * @param string $className
148 148
      * @return ListenerMethod[]
149 149
      */
150 150
     private function findListenerMethodsInClass($className)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     private function sortListeners($listeners)
118 118
     {
119
-        usort($listeners, function (ListenerMethod $a, ListenerMethod $b) {
119
+        usort($listeners, function(ListenerMethod $a, ListenerMethod $b) {
120 120
             return $this->classSorter->__invoke($a->getClass(), $b->getClass());
121 121
         });
122 122
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
     protected function filterFiles(array $files)
140 140
     {
141
-        return array_filter($files, function ($file) {
141
+        return array_filter($files, function($file) {
142 142
             return $this->isListenerFileName($file);
143 143
         });
144 144
     }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,8 +194,9 @@
 block discarded – undo
194 194
 
195 195
     private function isValidListenerMethod(\ReflectionMethod $reflectionMethod)
196 196
     {
197
-        if ($reflectionMethod->getNumberOfParameters() == 0)
198
-            return false;
197
+        if ($reflectionMethod->getNumberOfParameters() == 0) {
198
+                    return false;
199
+        }
199 200
 
200 201
         return true;
201 202
     }
Please login to merge, or discard this patch.