Completed
Push — master ( 6c07b7...9a15c1 )
by Fèvre
11s
created
src/Controller/Admin/SettingsController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use App\Controller\AppController;
5 5
 use Cake\Cache\Cache;
6
-use Cake\Core\Configure;
7
-use Cake\Event\Event;
8
-use Cake\Network\Exception\NotFoundException;
9 6
 
10 7
 class SettingsController extends AppController
11 8
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Create a setting.
42 42
      *
43
-     * @return \Cake\Network\Response|void
43
+     * @return \Cake\Http\Response|null
44 44
      */
45 45
     public function create()
46 46
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Edit a setting.
65 65
      *
66
-     * @return \Cake\Network\Response|void
66
+     * @return \Cake\Http\Response|null
67 67
      */
68 68
     public function edit()
69 69
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Delete a setting.
101 101
      *
102
-     * @return \Cake\Network\Response|void
102
+     * @return \Cake\Http\Response|null
103 103
      */
104 104
     public function delete()
105 105
     {
Please login to merge, or discard this patch.
src/Controller/TfaController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use App\Event\Logs;
5 5
 use Cake\Core\Configure;
6 6
 use Cake\Event\Event;
7
-use Endroid\QrCode\QrCode;
8 7
 use RobThree\Auth\TwoFactorAuth;
9 8
 
10 9
 class TfaController extends AppController
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Display an intro to the Two-factor Authentication.
23 23
      *
24
-     * @return \Cake\Network\Response|void
24
+     * @return \Cake\Http\Response|null
25 25
      */
26 26
     public function intro()
27 27
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Configure the Two-factor Authentication.
50 50
      *
51
-     * @return \Cake\Network\Response|void
51
+     * @return \Cake\Http\Response|null
52 52
      */
53 53
     public function configure()
54 54
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * Enable the Two-factor Authentication.
108 108
      *
109
-     * @return \Cake\Network\Response|void
109
+     * @return \Cake\Http\Response|null
110 110
      */
111 111
     public function enable()
112 112
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * Disable the Two-factor Authentication.
184 184
      *
185
-     * @return \Cake\Network\Response
185
+     * @return \Cake\Http\Response|null
186 186
      */
187 187
     public function disable()
188 188
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
     /**
240 240
      * Display the recovery code and the status of the code.
241 241
      *
242
-     * @return \Cake\Network\Response|void
242
+     * @return \Cake\Http\Response|null
243 243
      */
244 244
     public function recoveryCode()
245 245
     {
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     /**
275 275
      * Generate a new recovery code.
276 276
      *
277
-     * @return \Cake\Network\Response
277
+     * @return \Cake\Http\Response|null
278 278
      */
279 279
     public function generateRecoveryCode()
280 280
     {
Please login to merge, or discard this patch.
src/Shell/MaintenanceShell.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Cake\Cache\Cache;
5 5
 use Cake\Console\ConsoleOptionParser;
6 6
 use Cake\Console\Shell;
7
-use Cake\Utility\Inflector;
8 7
 
9 8
 class MaintenanceShell extends Shell
10 9
 {
Please login to merge, or discard this patch.
src/Event/Badges.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,11 @@
 block discarded – undo
4 4
 use App\Event\Notifications;
5 5
 use App\Model\Entity\BlogArticlesComment;
6 6
 use App\Model\Entity\User;
7
-use Cake\Controller\ComponentRegistry;
8 7
 use Cake\Controller\Controller;
9 8
 use Cake\Event\Event;
10 9
 use Cake\Event\EventListenerInterface;
11 10
 use Cake\Event\EventManager;
12 11
 use Cake\I18n\Time;
13
-use Cake\Network\Request;
14
-use Cake\Network\Response;
15 12
 use Cake\ORM\TableRegistry;
16 13
 
17 14
 class Badges implements EventListenerInterface
Please login to merge, or discard this patch.
src/Event/Statistics.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @param \Cake\Event\Event $event The event that was fired.
33 33
      *
34
-     * @return array|false
34
+     * @return string|false
35 35
      */
36 36
     public function newArticleStats(Event $event)
37 37
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param \Cake\Event\Event $event The event that was fired.
54 54
      *
55
-     * @return array|false
55
+     * @return string|false
56 56
      */
57 57
     public function newArticleCommentStats(Event $event)
58 58
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @param \Cake\Event\Event $event The event that was fired.
75 75
      *
76
-     * @return array|false
76
+     * @return string|false
77 77
      */
78 78
     public function newArticleLikeStats(Event $event)
79 79
     {
Please login to merge, or discard this patch.
src/Console/Installer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
      *
269 269
      * @param string $dir The application's root directory.
270 270
      * @param \Composer\IO\IOInterface $io IO interface to write to console.
271
-     * @return void
271
+     * @return null|string
272 272
      */
273 273
     public static function setSecuritySaltAndKey($dir, $io)
274 274
     {
Please login to merge, or discard this patch.
src/Controller/Admin/AdminController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Cake\Cache\Cache;
7 7
 use Cake\Core\Configure;
8 8
 use Cake\Event\Event;
9
-use Cake\I18n\Number;
10 9
 use Mexitek\PHPColors\Color;
11 10
 use Widop\GoogleAnalytics\Client;
12 11
 use Widop\GoogleAnalytics\Query;
Please login to merge, or discard this patch.
src/Controller/Admin/ArticlesController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Add an article.
55 55
      *
56
-     * @return \Cake\Network\Response|void
56
+     * @return \Cake\Http\Response|null
57 57
      */
58 58
     public function add()
59 59
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * Edit an Article.
87 87
      *
88
-     * @return \Cake\Network\Response|void
88
+     * @return \Cake\Http\Response|null
89 89
      */
90 90
     public function edit()
91 91
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * Delete an Article and all his comments and likes.
133 133
      *
134
-     * @return \Cake\Network\Response
134
+     * @return \Cake\Http\Response|null
135 135
      */
136 136
     public function delete()
137 137
     {
Please login to merge, or discard this patch.
src/Controller/Admin/AttachmentsController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Add an attachment to an article.
47 47
      *
48
-     * @return \Cake\Network\Response|void
48
+     * @return \Cake\Http\Response|null
49 49
      */
50 50
     public function add()
51 51
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Edit an attachment.
104 104
      *
105
-     * @return \Cake\Network\Response|void
105
+     * @return \Cake\Http\Response|null
106 106
      */
107 107
     public function edit()
108 108
     {
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     /**
175 175
      * Delete an Attachment.
176 176
      *
177
-     * @return \Cake\Network\Response
177
+     * @return \Cake\Http\Response|null
178 178
      */
179 179
     public function delete()
180 180
     {
Please login to merge, or discard this patch.