@@ -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\Functions; |
| 6 | 6 | |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | |
| 187 | 187 | $phpcsFile->fixer->beginChangeset(); |
| 188 | 188 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
| 189 | - $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces . 'return $this;'); |
|
| 189 | + $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces.'return $this;'); |
|
| 190 | 190 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
| 191 | 191 | $phpcsFile->fixer->endChangeset(); |
| 192 | 192 | } |
@@ -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 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | namespace BestIt\Sniffs\Commenting; |
@@ -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 @@ |
||
| 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 | |
@@ -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\Helper; |
| 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 | |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | $this->file->getFixer()->addContent( |
| 244 | 244 | $summaryPtr, |
| 245 | - $this->file->getEolChar() . str_repeat(' ', $summaryToken['level']) . ' *' |
|
| 245 | + $this->file->getEolChar().str_repeat(' ', $summaryToken['level']).' *' |
|
| 246 | 246 | ); |
| 247 | 247 | |
| 248 | 248 | $this->file->getFixer()->endChangeset(); |
@@ -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 | |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | |
| 246 | 246 | $this->file->getFixer()->beginChangeset(); |
| 247 | 247 | |
| 248 | - $content = $this->file->getEolChar() . str_repeat(' ', $tagToken['level']) . ' *'; |
|
| 248 | + $content = $this->file->getEolChar().str_repeat(' ', $tagToken['level']).' *'; |
|
| 249 | 249 | |
| 250 | 250 | $this->file->getFixer()->addContentBefore($eolPtr, $content); |
| 251 | 251 | |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | array_column($commentTags, 'content') |
| 482 | 482 | ); |
| 483 | 483 | |
| 484 | - uasort($tagNames, function ($tagA, $tagB) use ($sortedMetaTags) { |
|
| 484 | + uasort($tagNames, function($tagA, $tagB) use ($sortedMetaTags) { |
|
| 485 | 485 | $expectedPosA = array_search($tagA, $sortedMetaTags, true); |
| 486 | 486 | $expectedPosB = array_search($tagB, $sortedMetaTags, true); |
| 487 | 487 | |
@@ -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 | |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | |
| 303 | 303 | $this->file->getFixer()->addContent( |
| 304 | 304 | $descEndPtr, |
| 305 | - $this->file->getEolChar() . str_repeat(' ', $descEndToken['level']) . ' *' |
|
| 305 | + $this->file->getEolChar().str_repeat(' ', $descEndToken['level']).' *' |
|
| 306 | 306 | ); |
| 307 | 307 | |
| 308 | 308 | $this->file->getFixer()->endChangeset(); |