@@ -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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\Commenting\TagValidator\Validators; |
| 6 | 6 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | * |
| 42 | 42 | * @return void |
| 43 | 43 | */ |
| 44 | - public function validate(array $tagToken, int $contentPtr, ?array $contentToken): void |
|
| 44 | + public function validate(array $tagToken, int $contentPtr, ? array $contentToken) : void |
|
| 45 | 45 | { |
| 46 | 46 | $result = false; |
| 47 | 47 | |
@@ -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\CodeSniffer\Commenting\TagValidator\Validators; |
| 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\Commenting\TagValidator\Validators; |
| 6 | 6 | |
@@ -21,5 +21,5 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @return void |
| 23 | 23 | */ |
| 24 | - public function validate(array $tagToken, int $contentPtr, ?array $contentToken): void; |
|
| 24 | + public function validate(array $tagToken, int $contentPtr, ? array $contentToken) : void; |
|
| 25 | 25 | } |
@@ -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 | |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | |
| 245 | 245 | $this->file->getFixer()->beginChangeset(); |
| 246 | 246 | |
| 247 | - $content = $this->file->getEolChar() . str_repeat(' ', $tagToken['level']) . ' *'; |
|
| 247 | + $content = $this->file->getEolChar().str_repeat(' ', $tagToken['level']).' *'; |
|
| 248 | 248 | |
| 249 | 249 | $this->file->getFixer()->addContentBefore($eolPtr, $content); |
| 250 | 250 | |