Completed
Push — develop ( b371d7...fed724 )
by Schlaefer
04:15 queued 01:45
created
plugins/ImageUploader/tests/TestCase/Controller/UploadsControllerTest.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,11 @@
 block discarded – undo
13 13
 namespace ImageUploader\Test\TestCase\Controller;
14 14
 
15 15
 use Api\Error\Exception\GenericApiException;
16
-use Cake\Cache\Cache;
17 16
 use Cake\Core\Configure;
18 17
 use Cake\Core\Plugin;
19 18
 use Cake\Filesystem\File;
20 19
 use Cake\Http\Exception\UnauthorizedException;
21 20
 use Cake\ORM\TableRegistry;
22
-use claviska\SimpleImage;
23 21
 use Saito\Exception\SaitoForbiddenException;
24 22
 use Saito\Test\IntegrationTestCase;
25 23
 
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/Installer/tests/TestCase/Controller/UpdaterControllerTest.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 Installer\Test\TestCase\Controller;
14 14
 
15
-use App\Model\Table\SettingsTable;
16 15
 use Cake\Core\Configure;
17 16
 use Cake\Datasource\ConnectionManager;
18 17
 use Cake\Filesystem\File;
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/Sitemap/src/Lib/SitemapGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * @param string $file filename
46
-     * @return mixed
46
+     * @return false|string
47 47
      */
48 48
     public function content($file)
49 49
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * Creates name for sitemap-file
96 96
      *
97
-     * @param array $params additional name parameters
97
+     * @param integer[] $params additional name parameters
98 98
      * @return string
99 99
      */
100 100
     protected function _filename($params = [])
Please login to merge, or discard this patch.
plugins/Stopwatch/src/Lib/Stopwatch.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * time to Cake start
169 169
      *
170
-     * @return mixed
170
+     * @return double
171 171
      */
172 172
     protected static function _timeToCake()
173 173
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * time from cake to stopwatch
179 179
      *
180
-     * @return int
180
+     * @return double
181 181
      */
182 182
     protected static function _timeFromCakeToStopwatch()
183 183
     {
Please login to merge, or discard this patch.
src/Auth/CookieAuthenticate.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\Auth;
11 11
 
12 12
 use Cake\Auth\BaseAuthenticate;
13
-use Cake\Core\Configure;
14 13
 use Cake\Event\Event;
15 14
 use Cake\Http\Response;
16 15
 use Cake\Http\ServerRequest;
Please login to merge, or discard this patch.
src/Controller/Component/CurrentUserComponent.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@  discard block
 block discarded – undo
16 16
 use Cake\Core\Configure;
17 17
 use Cake\Event\Event;
18 18
 use Cake\ORM\TableRegistry;
19
-use Cake\Routing\Router;
20 19
 use Cake\Utility\Security;
21 20
 use Firebase\JWT\JWT;
22 21
 use Saito\App\Registry;
@@ -26,7 +25,6 @@  discard block
 block discarded – undo
26 25
 use Saito\User\CurrentUser\CurrentUserInterface;
27 26
 use Saito\User\CurrentUser\CurrentUserTrait;
28 27
 use Saito\User\LastRefresh;
29
-use Saito\User\ReadPostings;
30 28
 use Saito\User\ReadPostings\ReadPostingsCookie;
31 29
 use Saito\User\ReadPostings\ReadPostingsDatabase;
32 30
 use Saito\User\ReadPostings\ReadPostingsDummy;
Please login to merge, or discard this patch.
src/Controller/Component/SlidetabsComponent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Controller\Component;
4 4
 
5 5
 use Cake\Controller\Component;
6
-use Cake\Core\Configure;
7 6
 use Saito\User\ForumsUserInterface;
8 7
 
9 8
 class SlidetabsComponent extends Component
Please login to merge, or discard this patch.
src/Controller/Component/ThreadsComponent.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 Cake\Core\Configure;
16 16
 use Cake\ORM\Entity;
17 17
 use Cake\ORM\TableRegistry;
18
-use Cake\Utility\Hash;
19 18
 use Saito\App\Registry;
20 19
 use Saito\Posting\Posting;
21 20
 use Stopwatch\Lib\Stopwatch;
Please login to merge, or discard this patch.
src/Controller/ContactsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param Form $contact contact-form
86 86
      * @param mixed $recipient recipient
87 87
      * @param mixed $sender sender
88
-     * @return \Cake\Network\Response|void
88
+     * @return \Cake\Http\Response|null
89 89
      */
90 90
     protected function _contact(Form $contact, $recipient, $sender)
91 91
     {
Please login to merge, or discard this patch.