Completed
Push — develop ( 076d60...566ed5 )
by Schlaefer
02:27
created
plugins/Installer/tests/TestCase/Controller/InstallControllerTest.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/Installer/src/Lib/IntegrationTestCase.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/Installer/src/Lib/InstallerState.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/Api/config/bootstrap.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/BbcodeParser/src/Lib/Helper/UrlParserTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,8 +118,8 @@
 block discarded – undo
118 118
         }
119 119
 
120 120
         $_placeholder = ' … ';
121
-        $leftMargin = (int)floor($_textWordMaxLength / 2);
122
-        $rightMargin = (int)(-1 * ($_textWordMaxLength - $leftMargin - mb_strlen($_placeholder)));
121
+        $leftMargin = (int) floor($_textWordMaxLength / 2);
122
+        $rightMargin = (int) (-1 * ($_textWordMaxLength - $leftMargin - mb_strlen($_placeholder)));
123 123
 
124 124
         $string = mb_substr($string, 0, $leftMargin) . $_placeholder .
125 125
             mb_substr($string, $rightMargin);
Please login to merge, or discard this patch.
plugins/Stopwatch/src/View/Helper/StopwatchHelper.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/Shell/SaitoDummyDataShell.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
     public function generatePostings()
113 113
     {
114
-        $nPostings = (int)$this->in(
114
+        $nPostings = (int) $this->in(
115 115
             'Number of postings to generate?',
116 116
             null,
117 117
             100
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         if ($nPostings === 0) {
120 120
             return;
121 121
         }
122
-        $ratio = (int)$this->in('Average answers per thread?', null, 10);
122
+        $ratio = (int) $this->in('Average answers per thread?', null, 10);
123 123
         $seed = $nPostings / $ratio;
124 124
 
125 125
         $CurrentUser = new SaitoUserDummy();
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     public function generateUsers()
161 161
     {
162 162
         $max = count($this->_users);
163
-        $n = (int)$this->in(
163
+        $n = (int) $this->in(
164 164
             "Number of users to generate (max: $max)?",
165 165
             null,
166 166
             0
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         }
197 197
         $this->out('.', 0);
198 198
         if ($i > 1 && !($i % 50)) {
199
-            $percent = (int)floor($i / $off * 100);
199
+            $percent = (int) floor($i / $off * 100);
200 200
             $this->out(sprintf(' %3s%%', $percent), 1);
201 201
         }
202 202
     }
Please login to merge, or discard this patch.
src/Controller/Component/TitleComponent.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
 namespace App\Controller\Component;
6 6
 
Please login to merge, or discard this patch.
src/View/Helper/PostingHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     {
148 148
         $options += [
149 149
             'lineCache' => $this->_View->get('LineCache'),
150
-            'maxThreadDepthIndent' => (int)Configure::read(
150
+            'maxThreadDepthIndent' => (int) Configure::read(
151 151
                 'Saito.Settings.thread_depth_indent'
152 152
             ),
153 153
             'renderer' => 'thread',
Please login to merge, or discard this patch.