Completed
Branch hotfix/5.4.1 (9732a4)
by Schlaefer
02:32
created
src/Lib/Saito/User/Upload/AvatarFilenameListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Saito\User\Upload;
4 4
 
5 5
 use App\Model\Entity\User;
6
-use Cake\Core\Configure;
7 6
 use Cake\Event\Event;
8 7
 use Cake\Event\EventListenerInterface;
9 8
 use Cake\Filesystem\Folder;
10
-use Cake\ORM\Entity;
11 9
 use Cake\Utility\Text;
12 10
 use Proffer\Lib\ProfferPath;
13 11
 
Please login to merge, or discard this patch.
config/Seeds/SmiliesSeed.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function run()
20 20
     {
21 21
         $data =
22
-          [
22
+            [
23 23
             [
24 24
                 'id' => 1,
25 25
                 'sort' => 1,
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 'sort' => 17,
106 106
                 'icon' => 'angry',
107 107
             ]
108
-          ];
108
+            ];
109 109
 
110 110
         $table = $this->table('smilies');
111 111
         $table->insert($data)->save();
Please login to merge, or discard this patch.
plugins/SaitoSearch/tests/TestCase/Controller/SearchesControllerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 use Saito\Exception\SaitoForbiddenException;
16 16
 use Saito\Test\IntegrationTestCase;
17 17
 
18
- /*
18
+    /*
19 19
 class SearchesMockController extends SearchesController
20 20
 {
21 21
 
Please login to merge, or discard this patch.
src/View/Helper/ParserHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * get editor help
88 88
      *
89
-     * @return mixed
89
+     * @return string
90 90
      */
91 91
     public function editorHelp()
92 92
     {
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@  discard block
 block discarded – undo
34 34
 use Cake\Core\App;
35 35
 use Cake\Core\Configure;
36 36
 use Cake\Core\Configure\Engine\PhpConfig;
37
-use Cake\Core\Plugin;
38 37
 use Cake\Database\Type;
39 38
 use Cake\Datasource\ConnectionManager;
40 39
 use Cake\Error\ErrorHandler;
@@ -42,7 +41,6 @@  discard block
 block discarded – undo
42 41
 use Cake\Log\Log;
43 42
 use Cake\Mailer\Email;
44 43
 use Cake\Mailer\TransportFactory;
45
-use Cake\Routing\DispatcherFactory;
46 44
 use Cake\Utility\Inflector;
47 45
 use Cake\Utility\Security;
48 46
 
Please login to merge, or discard this patch.
src/Model/Table/SmiliesTable.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace App\Model\Table;
11 11
 
12 12
 use App\Lib\Model\Table\AppSettingTable;
13
-use Cake\Core\Configure;
14 13
 use Cake\Validation\Validator;
15 14
 use \Stopwatch\Lib\Stopwatch;
16 15
 
Please login to merge, or discard this patch.
plugins/Bookmarks/tests/TestCase/Model/Table/BookmarksTableTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         'app.User',
29 29
         'app.UserOnline',
30 30
         'plugin.Bookmarks.Bookmark'
31
-       ];
31
+        ];
32 32
 
33 33
     /**
34 34
      * Test Bookmark table validation.
Please login to merge, or discard this patch.
src/Controller/Component/ParserComponent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use App\Controller\ErrorController;
16 16
 use Cake\Controller\Component;
17 17
 use Cake\Core\Configure;
18
-use Cake\ORM\TableRegistry;
19 18
 use Cake\Routing\Router;
20 19
 use Saito\App\Registry;
21 20
 use Saito\Smiley\SmileyLoader;
Please login to merge, or discard this patch.
plugins/Installer/src/Controller/InstallController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@
 block discarded – undo
226 226
 
227 227
     /**
228 228
      * {@inheritdoc}
229
+     * @param string $msg
229 230
      */
230 231
     public function log($msg, $level = LogLevel::INFO, $context = ['saito.install'])
231 232
     {
Please login to merge, or discard this patch.