Completed
Branch feature/Save_drafts_on_composi... (9c2717)
by Schlaefer
03:40 queued 01:14
created
plugins/Api/src/Error/JsonApiExceptionRenderer.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,11 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace Api\Error;
14 14
 
15
-use Api\Error\Exception\GenericApiException;
16 15
 use Cake\Core\Configure;
17
-use Cake\Core\Exception\Exception;
18 16
 use Cake\Error\ExceptionRenderer;
19
-use Cake\View\View;
20 17
 
21 18
 class JsonApiExceptionRenderer extends ExceptionRenderer
22 19
 {
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.
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.
config/saito_config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     ->addType('audio/mp4')
109 109
     ->addType('audio/webm')
110 110
     ->addType('image/jpeg', '19MB')
111
-    ->addType('image/png',  '19MB')
111
+    ->addType('image/png', '19MB')
112 112
     ->addType('image/svg+xml')
113 113
     ->addType('text/plain')
114 114
     ->addType('video/mp4')
Please login to merge, or discard this patch.
src/Model/Table/UsersTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $this->addBehavior(
78 78
             'Proffer.Proffer',
79 79
             [
80
-                'avatar' => [ // The name of your upload field (filename)
80
+                'avatar' => [// The name of your upload field (filename)
81 81
                     'root' => $avatarRootDir,
82 82
                     'dir' => 'avatar_dir', // field for upload directory
83 83
                     'thumbnailSizes' => [
Please login to merge, or discard this patch.
plugins/Admin/src/View/Helper/AdminHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * help
39 39
      *
40 40
      * @param string $id id
41
-     * @return mixed
41
+     * @return string|null
42 42
      */
43 43
     public function help($id)
44 44
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *
77 77
      * @param string $text text
78 78
      * @param null $type type
79
-     * @return mixed
79
+     * @return string|null
80 80
      */
81 81
     public function badge($text, $type = null)
82 82
     {
Please login to merge, or discard this patch.