Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Push — add-tests ( 194aa8 )
by Pedro
15:05
created
tests/config/CrudPanel/BaseCrudPanel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         parent::setUp();
26 26
 
27
-        $this->app->singleton('crud', function ($app) {
27
+        $this->app->singleton('crud', function($app) {
28 28
             return new CrudPanel($app);
29 29
         });
30 30
         $this->crudPanel = app('crud');
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $app['config']->set('database.default', 'testing');
44 44
         $app['config']->set('backpack.base.route_prefix', 'admin');
45 45
 
46
-        $app->bind('App\Http\Middleware\CheckIfAdmin', function () {
46
+        $app->bind('App\Http\Middleware\CheckIfAdmin', function() {
47 47
             return new class
48 48
             {
49 49
                 public function handle($request, $next)
Please login to merge, or discard this patch.
src/app/Console/Commands/AddCustomRouteContent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $routeFilePath = base_path($this->option('route-file'));
45 45
 
46
-        if (! file_exists($routeFilePath)) {
46
+        if (!file_exists($routeFilePath)) {
47 47
             if ($routeFilePath !== base_path($this->backpackCustomRouteFile)) {
48 48
                 $this->info('The route file <fg=blue>'.$routeFilePath.'</> does not exist. Please create it first.');
49 49
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
     private function cleanContentArray(array $content)
102 102
     {
103
-        return array_filter(array_map(function ($line) {
103
+        return array_filter(array_map(function($line) {
104 104
             $lineText = trim($line);
105 105
             if ($lineText === '' ||
106 106
                 $lineText === '\n' ||
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     private function getLastLineNumberThatContains($needle, $haystack)
135 135
     {
136
-        $matchingLines = array_filter($haystack, function ($k) use ($needle) {
136
+        $matchingLines = array_filter($haystack, function($k) use ($needle) {
137 137
             return strpos($k, $needle) !== false;
138 138
         });
139 139
 
Please login to merge, or discard this patch.
tests/Unit/CrudPanel/CrudPanelFakeFieldsTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,6 +198,6 @@
 block discarded – undo
198 198
 
199 199
         $this->assertEquals([
200 200
             'extras' => "{\"content\":\"Content Value\",\"metas\":[\"meta1\",\"meta2\",\"meta3\"]}"
201
-          ], $compactedFakeFields);
201
+            ], $compactedFakeFields);
202 202
     }
203 203
 }
Please login to merge, or discard this patch.