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

Completed
Pull Request — master (#7)
by
unknown
02:39 queued 30s
created
src/Console/Commands/PermissionGeneratorBackpackCommand.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function handle()
30 30
     {
31 31
         $routeName = $this->argument('route');
32
-        $permissions = ['list', 'create', 'update', 'reorder', 'delete'];
32
+        $permissions = [ 'list', 'create', 'update', 'reorder', 'delete' ];
33 33
         $permissionsAdded = 0;
34 34
         $customPermissions = $this->option('permission');
35 35
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $permissionName = trim($routeName, '/').'/'.trim($permission, '/');
45 45
             $permissionName = strtolower($permissionName);
46 46
 
47
-            $existingPermission = Permission::where(['name' => $permissionName])->first();
47
+            $existingPermission = Permission::where([ 'name' => $permissionName ])->first();
48 48
 
49 49
             if ($existingPermission) {
50 50
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                     return $this->error("\nCancelled adding any more permissions.");
60 60
                 }
61 61
             } else {
62
-                $newPermission = Permission::create(['name' => $permissionName]);
62
+                $newPermission = Permission::create([ 'name' => $permissionName ]);
63 63
                 $newPermission->save();
64 64
 
65 65
                 if ($newPermission->id) {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 class PermissionGeneratorBackpackCommand extends Command
9 9
 {
10 10
     /**
11
-      * The name and signature of the console command.
12
-      *
13
-      * @var string
14
-      */
11
+     * The name and signature of the console command.
12
+     *
13
+     * @var string
14
+     */
15 15
      protected $signature = 'backpack:permissions {route : Name of the route e.g admin/teams} {--P|permission=* : A permission you wish to add, can accept multiple instances of -P|permission}';
16 16
 
17 17
     /**
Please login to merge, or discard this patch.