Completed
Branch feature/phpstanLevel2 (435bc7)
by Schlaefer
02:41
created
plugins/Detectors/src/Plugin.php 1 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/Plugin.php 1 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/Stopwatch/src/Plugin.php 1 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/View/Helper/AdminHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * @param string $text text
68 68
      * @param null $type type
69
-     * @return mixed
69
+     * @return string|null
70 70
      */
71 71
     public function badge($text, $type = null)
72 72
     {
Please login to merge, or discard this patch.
plugins/Admin/src/Lib/CakeLogEntry.php 1 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.
src/Lib/Saito/User/Blocker/BlockerAbstract.php 1 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.
src/Lib/Saito/User/Blocker/ManualBlocker.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
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
 
71 71
         $entity = $this->Table->newEntity($conditions);
72 72
 
73
-        return (bool)$this->Table->save($entity);
73
+        return (bool) $this->Table->save($entity);
74 74
     }
75 75
 }
Please login to merge, or discard this patch.
plugins/Installer/src/Controller/InstallController.php 2 patches
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.
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/src/Controller/UpdaterController.php 2 patches
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.
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.