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 — update-database-deps ( e3b221 )
by Pedro
10:22
created
src/app/Library/Database/Table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
                 public function getNotnull()
24 24
                 {
25
-                    return ! $this->column['nullable'];
25
+                    return !$this->column['nullable'];
26 26
                 }
27 27
 
28 28
                 public function getDefault()
Please login to merge, or discard this patch.
src/app/Library/Database/DatabaseSchema.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $connection = $connection ?: config('database.default');
54 54
         $manager = self::getSchemaManager($connection);
55 55
 
56
-        if(!method_exists($manager, 'getDatabasePlatform')) {
56
+        if (!method_exists($manager, 'getDatabasePlatform')) {
57 57
             return;
58 58
         }
59 59
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     public static function dbalTypes()
68 68
     {
69
-        if(!method_exists(self::getSchemaManager(), 'getDatabasePlatform')) {
69
+        if (!method_exists(self::getSchemaManager(), 'getDatabasePlatform')) {
70 70
             return [];
71 71
         }
72 72
         return [
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     private static function generateDatabaseSchema(string $connection)
98 98
     {
99
-        if (! isset(self::$schema[$connection])) {
99
+        if (!isset(self::$schema[$connection])) {
100 100
             self::$schema[$connection] = self::mapTables($connection);
101 101
         }
102 102
     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     private static function mapTables(string $connection)
111 111
     {
112
-        return LazyCollection::make(self::getCreateSchema($connection)->getTables())->mapWithKeys(function ($table, $key) use ($connection) {
112
+        return LazyCollection::make(self::getCreateSchema($connection)->getTables())->mapWithKeys(function($table, $key) use ($connection) {
113 113
             $tableName = is_array($table) ? $table['name'] : $table->getName();
114 114
 
115 115
             if (self::$schema[$connection][$tableName] ?? false) {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $schemaManager = self::getSchemaManager($connection);
130 130
         $indexes = method_exists($schemaManager, 'listTableIndexes') ? $schemaManager->listTableIndexes($table) : $schemaManager->getIndexes($table);
131 131
 
132
-        $indexes = array_map(function ($index) {
132
+        $indexes = array_map(function($index) {
133 133
             return is_array($index) ? $index['columns'] : $index->getColumns();
134 134
         }, $indexes);
135 135
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $indexedColumns = self::getIndexColumnNames($connection, $table);
144 144
 
145
-        return LazyCollection::make(self::getSchemaManager($connection)->getColumns($table))->mapWithKeys(function ($column, $key) use ($indexedColumns) {
145
+        return LazyCollection::make(self::getSchemaManager($connection)->getColumns($table))->mapWithKeys(function($column, $key) use ($indexedColumns) {
146 146
             $column['index'] = array_key_exists($column['name'], $indexedColumns) ? true : false;
147 147
 
148 148
             return [$column['name'] => $column];
Please login to merge, or discard this patch.