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.
Passed
Push — master ( bc33c3...4f0198 )
by Mehdi
11:09
created
src/QueryFilter/Queries/WhereHas.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         return $query->whereHas(
27 27
             $conditions,
28
-            function ($q) use ($value, $field_row) {
28
+            function($q) use ($value, $field_row) {
29 29
                 $condition = 'where';
30 30
                 if (is_array($value)) {
31 31
                     $condition = 'whereIn';
Please login to merge, or discard this patch.
src/QueryFilter/Core/FilterBuilder/RequestFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             $request = (!empty($request[$request_key_filter])) ? $request[$request_key_filter] : [];
62 62
         }
63 63
 
64
-        $request = array_filter($request, function ($value) {
64
+        $request = array_filter($request, function($value) {
65 65
             return !is_null($value) && $value !== '';
66 66
         });
67 67
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         }
134 134
         $req = $this->getRequest();
135 135
 
136
-        $req = collect($req)->mapWithKeys(function ($item, $key) use ($alias_list_filter) {
136
+        $req = collect($req)->mapWithKeys(function($item, $key) use ($alias_list_filter) {
137 137
             $key1 = array_search($key, $alias_list_filter);
138 138
 
139 139
             if (!empty($alias_list_filter[$key1])) {
Please login to merge, or discard this patch.
src/QueryFilter/Core/ResolverDetections.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     {
79 79
         $model = $this->builder->getModel();
80 80
 
81
-        $filter_detections = collect($this->request)->map(function ($values, $filter) use ($model) {
81
+        $filter_detections = collect($this->request)->map(function($values, $filter) use ($model) {
82 82
             return $this->resolve($filter, $values, $model);
83 83
         })->reverse()->toArray();
84 84
 
Please login to merge, or discard this patch.
src/QueryFilter/Detection/DetectorCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $detector_collect = collect($detector);
29 29
 
30
-        $detector_collect->map(function ($detector_obj) {
30
+        $detector_collect->map(function($detector_obj) {
31 31
             if (!empty($detector_obj)) {
32 32
                 $reflect = new \ReflectionClass($detector_obj);
33 33
                 if ($reflect->implementsInterface(DetectorConditionsContract::class)) {
Please login to merge, or discard this patch.
src/QueryFilter/Core/HelperFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      */
72 72
     public static function array_slice_keys($request, $keys = null): array
73 73
     {
74
-        $request = (array) $request;
74
+        $request = (array)$request;
75 75
 
76 76
         return array_intersect_key($request, array_fill_keys($keys, '1'));
77 77
     }
Please login to merge, or discard this patch.
src/QueryFilter/Core/FilterBuilder/QueryFilterBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     private function resolveDetections()
113 113
     {
114 114
         /** @see ResolverDetections */
115
-        app()->bind('ResolverDetections', function () {
115
+        app()->bind('ResolverDetections', function() {
116 116
             return new ResolverDetections($this->queryBuilderWrapper->getBuilder(), $this->requestFilter->getRequest(), $this->queryFilterCore->getDetectFactory());
117 117
         });
118 118
 
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     private function configurePaths()
32 32
     {
33 33
         $this->publishes([
34
-            __DIR__ . '/config/config.php' => config_path('eloquentFilter.php'),
34
+            __DIR__.'/config/config.php' => config_path('eloquentFilter.php'),
35 35
         ]);
36 36
     }
37 37
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     private function mergeConfig()
42 42
     {
43 43
         $this->mergeConfigFrom(
44
-            __DIR__ . '/config/config.php',
44
+            __DIR__.'/config/config.php',
45 45
             'eloquentFilter'
46 46
         );
47 47
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $this->app->singleton(
55 55
             'eloquentFilter',
56
-            function () {
56
+            function() {
57 57
                 $queryFilterCoreFactory = new QueryFilterCoreFactory();
58 58
 
59 59
                 $request = new RequestFilter($this->app->get('request')->query());
Please login to merge, or discard this patch.