Passed
Push — master ( 10c5e4...da6ba3 )
by Björn
01:32
created
src/Standards/BestIt/Sniffs/Formatting/OpenTagSniff.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 BestIt\Sniffs\Formatting;
6 6
 
Please login to merge, or discard this patch.
src/Standards/BestIt/CodeSniffer/Helper/DocTagGroupHelper.php 1 patch
Spacing   +3 added lines, -3 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
 namespace BestIt\CodeSniffer\Helper;
6 6
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
             if (array_key_exists($lastGroupTagPos + 1, $this->commentTagOrder)) {
98 98
                 $tagAfterGroup = $this->getTagByPosition($lastGroupTagPos + 1);
99
-                $tagAfterLineDiff = $tagAfterGroup['line'] -  $lastGroupTag['line'];
99
+                $tagAfterLineDiff = $tagAfterGroup['line'] - $lastGroupTag['line'];
100 100
             }
101 101
 
102 102
             if ($tagBeforeLineDiff === 1) {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
         $this->file->getFixer()->beginChangeset();
193 193
 
194
-        $content = $this->file->getEolChar() . str_repeat('    ', $tagToken['level']) . ' *';
194
+        $content = $this->file->getEolChar().str_repeat('    ', $tagToken['level']).' *';
195 195
 
196 196
         $this->file->getFixer()->addContentBefore($eolPtr, $content);
197 197
 
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/TypeHints/ReturnTypeDeclarationSniff.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
 namespace BestIt\Sniffs\TypeHints;
6 6
 
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
         );
329 329
 
330 330
         if ($sniffName) {
331
-            $sniffFQCN .= '.' . $sniffName;
331
+            $sniffFQCN .= '.'.$sniffName;
332 332
         }
333 333
 
334 334
         return $sniffFQCN;
Please login to merge, or discard this patch.