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 — main ( fc63e2...1e14f5 )
by Pedro
15:13 queued 16s
created
src/app/Library/Database/DatabaseSchema.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     private static function generateDatabaseSchema(string $connection)
55 55
     {
56
-        if (! isset(self::$schema[$connection])) {
56
+        if (!isset(self::$schema[$connection])) {
57 57
             self::$schema[$connection] = self::mapTables($connection);
58 58
         }
59 59
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     private static function mapTables(string $connection)
68 68
     {
69
-        return LazyCollection::make(self::getCreateSchema($connection)->getTables())->mapWithKeys(function ($table, $key) use ($connection) {
69
+        return LazyCollection::make(self::getCreateSchema($connection)->getTables())->mapWithKeys(function($table, $key) use ($connection) {
70 70
             $tableName = is_array($table) ? $table['name'] : $table->getName();
71 71
 
72 72
             if (self::$schema[$connection][$tableName] ?? false) {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $schemaManager = self::getSchemaManager($connection);
87 87
         $indexes = method_exists($schemaManager, 'listTableIndexes') ? $schemaManager->listTableIndexes($table) : $schemaManager->getIndexes($table);
88 88
 
89
-        $indexes = array_map(function ($index) {
89
+        $indexes = array_map(function($index) {
90 90
             return is_array($index) ? $index['columns'] : $index->getColumns();
91 91
         }, $indexes);
92 92
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         $indexedColumns = self::getIndexColumnNames($connection, $table);
101 101
 
102
-        return LazyCollection::make(self::getSchemaManager($connection)->getColumns($table))->mapWithKeys(function ($column, $key) use ($indexedColumns) {
102
+        return LazyCollection::make(self::getSchemaManager($connection)->getColumns($table))->mapWithKeys(function($column, $key) use ($indexedColumns) {
103 103
             $column['index'] = array_key_exists($column['name'], $indexedColumns) ? true : false;
104 104
 
105 105
             return [$column['name'] => $column];
Please login to merge, or discard this patch.