Completed
Branch feature/currentUserRefactoring (e6f778)
by Schlaefer
02:47
created
plugins/Admin/src/Controller/CategoriesController.php 1 patch
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.
plugins/Admin/src/Controller/UsersController.php 2 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.
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/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/Installer/tests/TestCase/Controller/UpdaterControllerTest.php 1 patch
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.
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.
src/Lib/Saito/Smiley/SmileyLoader.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 Saito\Smiley;
4 4
 
5 5
 use Cake\Cache\Cache;
6
-use Cake\Core\Configure;
7 6
 use Cake\ORM\TableRegistry;
8 7
 
9 8
 class SmileyLoader
Please login to merge, or discard this patch.
src/Lib/Saito/Test/IntegrationTestCase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace Saito\Test;
14 14
 
15 15
 use App\Test\Fixture\UserFixture;
16
-
17 16
 use Cake\Core\Configure;
18 17
 use Cake\Event\Event;
19 18
 use Cake\Event\EventManager;
Please login to merge, or discard this patch.
src/Lib/Saito/Test/SecurityMockTrait.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Saito\Test;
4 4
 
5
-use Cake\Event\Event;
6
-use Cake\Event\EventManager;
7
-
8 5
 trait SecurityMockTrait
9 6
 {
10 7
 
Please login to merge, or discard this patch.
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.