Completed
Push — master ( 3c1969...5b5792 )
by Schlaefer
03:16 queued 10s
created
plugins/Installer/src/Controller/UpdaterController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,6 @@
 block discarded – undo
15 15
 use Cake\Core\Configure;
16 16
 use Cake\Event\Event;
17 17
 use Cake\Filesystem\File;
18
-use Cake\I18n\I18n;
19
-use Cake\ORM\Table;
20
-use Cake\ORM\TableRegistry;
21 18
 use Installer\Form\UpdaterStartForm;
22 19
 use Installer\Lib\DbVersion;
23 20
 use Psr\Log\LogLevel;
Please login to merge, or discard this patch.
plugins/Installer/src/Lib/InstallerState.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -71,6 +71,6 @@  discard block
 block discarded – undo
71 71
             throw new \RuntimeException('TMP directory not available.', 1560524787);
72 72
         }
73 73
 
74
-        return (new File(TMP . 'installer.state'));
74
+        return (new File(TMP.'installer.state'));
75 75
     }
76 76
 }
Please login to merge, or discard this patch.
src/Model/Table/UserBlocksTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
      */
177 177
     public function findAssocUsers(Query $query)
178 178
     {
179
-        $callback = function (Query $query) {
179
+        $callback = function(Query $query) {
180 180
             return $query->select(['id', 'username']);
181 181
         };
182 182
         $query->contain(['BlockedBy' => $callback, 'Users' => $callback]);
Please login to merge, or discard this patch.
src/Lib/Model/Table/AppTable.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * {@inheritdoc}
128
+     * @param string $key
128 129
      */
129 130
     public function getConfig($key = null, $default = null)
130 131
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     public function getConfig($key = null, $default = null)
130 130
     {
131 131
         if (is_string($key)) {
132
-            $setting = Configure::read('Saito.Settings.' . $key);
132
+            $setting = Configure::read('Saito.Settings.'.$key);
133 133
             if ($setting !== null) {
134 134
                 return $setting;
135 135
             }
Please login to merge, or discard this patch.
plugins/Installer/tests/TestCase/Controller/InstallControllerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         ];
62 62
 
63 63
         foreach ($actions as $action) {
64
-            $this->get('install/' . $action);
64
+            $this->get('install/'.$action);
65 65
             $this->assertRedirect('/');
66 66
         }
67 67
     }
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         $this->createSettings();
103 103
         (new DbVersion(TableRegistry::get('Settings')))->set('4.10.0');
104 104
 
105
-        $token = new File(CONFIG . 'installer');
105
+        $token = new File(CONFIG.'installer');
106 106
         $this->assertTrue($token->exists());
107 107
 
108 108
         $this->get('install/connected');
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     private function createInstallerToken()
114 114
     {
115
-        (new File(CONFIG . 'installer'))->create();
115
+        (new File(CONFIG.'installer'))->create();
116 116
     }
117 117
 
118 118
     private function createSettings()
Please login to merge, or discard this patch.