Completed
Pull Request — master (#34)
by Björn
06:53
created
src/Standards/BestIt/Sniffs/Commenting/PropertyDocSniff.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\Commenting;
6 6
 
Please login to merge, or discard this patch.
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.