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 ( 1803f5...01bff6 )
by Constantin
04:15
created
MethodListenerDiscovery/MapCodeGenerator/MapCodeGeneratorBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     protected function generateLevel1Item(array $eventListenerMethods)
51 51
     {
52
-        return array_map(function (ListenerMethod $listener) {
52
+        return array_map(function(ListenerMethod $listener) {
53 53
             return $this->spaces(self::SPACES_AT_HANDLERS) .
54 54
                 '[' . $this->prependSlash($this->getLevel1FirstItem($listener)) . '::class' . ', \'' . $this->getLevel1SecondItem($listener) . '\'],';
55 55
         }, $eventListenerMethods);
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/AggregateEventHandlersValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     protected function filterFiles(\Iterator $files)
66 66
     {
67
-        return new \CallbackFilterIterator($files, function ($file) {
67
+        return new \CallbackFilterIterator($files, function($file) {
68 68
             return $this->isListenerFileName($file);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/Shared/ClassSorter/ByConstructorDependencySorter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $comparator = new SubclassComparator();
74 74
 
75
-        $isASubClassOrSameClass = function (\ReflectionClass $class) use ($parentClass, $comparator) {
75
+        $isASubClassOrSameClass = function(\ReflectionClass $class) use ($parentClass, $comparator) {
76 76
             return $comparator->isASubClassOrSameClass($class, $parentClass->name);
77 77
         };
78 78
 
@@ -93,11 +93,11 @@  discard block
 block discarded – undo
93 93
      */
94 94
     private function classNameFromParameters(array $parameters)
95 95
     {
96
-        $strings = array_map(function (\ReflectionParameter $parameter) {
96
+        $strings = array_map(function(\ReflectionParameter $parameter) {
97 97
             return $this->classNameFromParameter($parameter);
98 98
         }, $parameters);
99 99
 
100
-        return array_filter($strings, function ($s) {
100
+        return array_filter($strings, function($s) {
101 101
             return !!$s;
102 102
         });
103 103
     }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/Shared/BubbleArraySorter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 {
9 9
     public function sort($arr, callable $isBefore) {
10 10
         $size = count($arr);
11
-        for ($i=0; $i<$size; $i++) {
12
-            for ($j=0; $j<$size-1-$i; $j++) {
13
-                if ($isBefore($arr[$j+1], $arr[$j])) {
14
-                    $this->swap($arr, $j, $j+1);
11
+        for ($i = 0; $i < $size; $i++) {
12
+            for ($j = 0; $j < $size - 1 - $i; $j++) {
13
+                if ($isBefore($arr[$j + 1], $arr[$j])) {
14
+                    $this->swap($arr, $j, $j + 1);
15 15
                 }
16 16
             }
17 17
         }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/MethodListenerDiscovery/MapGrouper/GrouperByEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         $classSorter = new ByConstructorDependencySorter();
42 42
 
43
-        return (new BubbleArraySorter)->sort($listeners, function (ListenerMethod $a, ListenerMethod $b) use ($classSorter) {
43
+        return (new BubbleArraySorter)->sort($listeners, function(ListenerMethod $a, ListenerMethod $b) use ($classSorter) {
44 44
             return $classSorter->__invoke($a->getClass(), $b->getClass());
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/ClassDiscovery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     protected function filterFiles(\Iterator $files)
66 66
     {
67
-        return new \CallbackFilterIterator($files, function ($file) {
67
+        return new \CallbackFilterIterator($files, function($file) {
68 68
             return $this->isListenerFileName($file);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.
src/Gica/CodeAnalysis/MethodListenerDiscovery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     protected function filterFiles(\Iterator $files)
66 66
     {
67
-        return new \CallbackFilterIterator($files, function ($file) {
67
+        return new \CallbackFilterIterator($files, function($file) {
68 68
             return $this->isListenerFileName($file);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.