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 ( 01bff6...2074ab )
by Constantin
02:04
created
Gica/CodeAnalysis/Shared/ClassSorter/ByClassConstantDependencySorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function sortClasses($classes)
36 36
     {
37
-        usort($classes, function (\ReflectionClass $a, \ReflectionClass $b) {
37
+        usort($classes, function(\ReflectionClass $a, \ReflectionClass $b) {
38 38
             return $this->getClassConstant($a) <=> $this->getClassConstant($b);
39 39
         });
40 40
 
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/Shared/ClassSorter/AlphabeticalClassSorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function sortClasses($classes)
14 14
     {
15
-        usort($classes, function (\ReflectionClass $a, \ReflectionClass $b) {
15
+        usort($classes, function(\ReflectionClass $a, \ReflectionClass $b) {
16 16
             return $a->name <=> $b->name;
17 17
         });
18 18
 
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/Shared/ClassSorter/TopologySorter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
         $sortedClassNames = array_reverse($sortedClassNames);
27 27
 
28
-        usort($classes, function (\ReflectionClass $a, \ReflectionClass $b) use ($sortedClassNames) {
28
+        usort($classes, function(\ReflectionClass $a, \ReflectionClass $b) use ($sortedClassNames) {
29 29
             return array_search($a->name, $sortedClassNames) <=> array_search($b->name, $sortedClassNames);
30 30
         });
31 31
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         $comparator = new SubclassComparator();
88 88
 
89
-        $isASubClassOrSameClass = function (\ReflectionClass $class) use ($parentClass, $comparator) {
89
+        $isASubClassOrSameClass = function(\ReflectionClass $class) use ($parentClass, $comparator) {
90 90
             return $comparator->isASubClassOrSameClass($class, $parentClass->name);
91 91
         };
92 92
 
@@ -111,11 +111,11 @@  discard block
 block discarded – undo
111 111
      */
112 112
     private function classFromParameters(array $parameters)
113 113
     {
114
-        $strings = array_map(function (\ReflectionParameter $parameter) {
114
+        $strings = array_map(function(\ReflectionParameter $parameter) {
115 115
             return $this->classFromParameter($parameter);
116 116
         }, $parameters);
117 117
 
118
-        return array_filter($strings, function ($s) {
118
+        return array_filter($strings, function($s) {
119 119
             return !!$s;
120 120
         });
121 121
     }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/MethodListenerDiscovery/MapGrouper/GrouperByEvent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,15 +37,15 @@
 block discarded – undo
37 37
      */
38 38
     public function sortListeners($listeners)
39 39
     {
40
-        $sortedClasses = (new TopologySorter)->sortClasses(array_map(function (ListenerMethod $listenerMethod) {
40
+        $sortedClasses = (new TopologySorter)->sortClasses(array_map(function(ListenerMethod $listenerMethod) {
41 41
             return $listenerMethod->getClass();
42 42
         }, $listeners));
43 43
 
44
-        $sortedClassesNames = array_map(function (\ReflectionClass $class) {
44
+        $sortedClassesNames = array_map(function(\ReflectionClass $class) {
45 45
             return $class->name;
46 46
         }, $sortedClasses);
47 47
 
48
-        usort($listeners, function (ListenerMethod $a, ListenerMethod $b) use ($sortedClassesNames) {
48
+        usort($listeners, function(ListenerMethod $a, ListenerMethod $b) use ($sortedClassesNames) {
49 49
             return array_search($a->getClassName(), $sortedClassesNames) <=> array_search($b->getClassName(), $sortedClassesNames);
50 50
         });
51 51
 
Please login to merge, or discard this patch.