@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace BestIt\Sniffs\Imports; |
6 | 6 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $this->nsSeperatorCount++; |
74 | 74 | } |
75 | 75 | |
76 | - if($this->nsSeperatorCount > 0){ |
|
76 | + if ($this->nsSeperatorCount > 0) { |
|
77 | 77 | $file->addError( |
78 | 78 | self::ERROR_FQN_NOT_ALLOWED, |
79 | 79 | $position, |