Completed
Push — master ( 5b5792...2b84bd )
by Schlaefer
03:33 queued 11s
created
plugins/Admin/src/Controller/CategoriesController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * add new category
37 37
      *
38
-     * @return \Cake\Network\Response|void
38
+     * @return \Cake\Http\Response|null
39 39
      */
40 40
     public function add()
41 41
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * edit category
67 67
      *
68 68
      * @param string $id category-ID
69
-     * @return \Cake\Network\Response|void
69
+     * @return \Cake\Http\Response|null
70 70
      */
71 71
     public function edit($id)
72 72
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @param string $id category-ID
108 108
      *
109
-     * @return \Cake\Network\Response|void
109
+     * @return \Cake\Http\Response|null
110 110
      */
111 111
     public function delete($id)
112 112
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
         switch ($this->request->getData('mode')) {
125 125
             case ('move'):
126
-                $targetId = (int)$this->request->getData('targetCategory');
126
+                $targetId = (int) $this->request->getData('targetCategory');
127 127
                 try {
128 128
                     $this->Categories->merge($category->get('id'), $targetId);
129 129
                     $this->Flash->set(
Please login to merge, or discard this patch.
plugins/Admin/src/Controller/SettingsController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @param null $id settings-ID
91 91
      *
92
-     * @return \Cake\Network\Response|void
92
+     * @return \Cake\Http\Response|null
93 93
      */
94 94
     public function edit($id = null)
95 95
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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
Please login to merge, or discard this patch.
plugins/Admin/src/Controller/UsersController.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * add user
47 47
      *
48
-     * @return \Cake\Network\Response|void
48
+     * @return \Cake\Http\Response|null
49 49
      */
50 50
     public function add()
51 51
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * delete user
69 69
      *
70 70
      * @param string $id user-ID
71
-     * @return \Cake\Network\Response|void
71
+     * @return \Cake\Http\Response|null
72 72
      */
73 73
     public function delete($id)
74 74
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     public function delete($id)
74 74
     {
75
-        $id = (int)$id;
75
+        $id = (int) $id;
76 76
         $exists = $this->Users->exists($id);
77 77
         if (!$exists) {
78 78
             $this->Flash->set(__('User not found.'), ['element' => 'error']);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Admin\Controller;
4 4
 
5
-use App\Controller\AppController;
6 5
 use App\Model\Table\UsersTable;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
plugins/Api/src/Controller/ApiAppController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use App\Controller\AppController;
16 16
 use Cake\Controller\Component\AuthComponent;
17 17
 use Cake\Core\Configure;
18
-use Cake\Event\Event;
19 18
 
20 19
 /**
21 20
  * Api App Controller
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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
Please login to merge, or discard this patch.
plugins/BbcodeParser/src/Lib/jBBCode/Definitions/JbbCodeDefinitions.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -566,6 +566,7 @@
 block discarded – undo
566 566
 
567 567
     /**
568 568
      * {@inheritDoc}
569
+     * @param string $content
569 570
      */
570 571
     protected function _getUrl($content, $attributes)
571 572
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Plugin\BbcodeParser\src\Lib\jBBCode\Definitions;
4 4
 
5 5
 use Cake\Cache\Cache;
6
-use Cake\Core\Configure;
7 6
 use Plugin\BbcodeParser\src\Lib\Helper\Message;
8 7
 use Plugin\BbcodeParser\src\Lib\Helper\UrlParserTrait;
9 8
 use Saito\DomainParser;
Please login to merge, or discard this patch.
plugins/BbcodeParser/src/Lib/Parser.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      * Constructor
209 209
      *
210 210
      * @param Helper $Helper helper
211
-     * @param array $settings settings
211
+     * @param MarkupSettings $settings settings
212 212
      */
213 213
     public function __construct(Helper $Helper, MarkupSettings $settings)
214 214
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      * - `multimedia` bool true|false parse or ignore multimedia content
226 226
      * - `embed` bool true|false parse or ignore embed content
227 227
      *
228
-     * @return mixed|string
228
+     * @return string
229 229
      */
230 230
     public function parse($string, array $options = [])
231 231
     {
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      * Add definitin set
316 316
      *
317 317
      * @param string $set set
318
-     * @param array $options options
318
+     * @param MarkupSettings $options options
319 319
      *
320 320
      * @return void
321 321
      * @throws \Exception
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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
Please login to merge, or discard this patch.
plugins/Bookmarks/src/Lib/Bookmarks.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace Bookmarks\Lib;
14 14
 
15
-use App\Controller\Component\CurrentUserComponent;
16 15
 use Cake\ORM\TableRegistry;
17 16
 use Saito\User\CurrentUser\CurrentUserInterface;
18 17
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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
Please login to merge, or discard this patch.
plugins/Cron/src/Lib/Cron.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      *
138 138
      * @param string $msg message
139 139
      *
140
-     * @return bool
140
+     * @return boolean|null
141 141
      */
142 142
     protected function _log($msg)
143 143
     {
Please login to merge, or discard this patch.
plugins/Feeds/src/Controller/PostingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Controller\AppController;
6 6
 use App\Model\Table\EntriesTable;
7
-use Cake\Core\Configure;
8 7
 use Cake\Event\Event;
9 8
 use Cake\Http\Exception\BadRequestException;
10 9
 use Feeds\Model\Behavior\FeedsPostingBehavior;
Please login to merge, or discard this patch.