@@ -184,7 +184,7 @@ |
||
184 | 184 | |
185 | 185 | $phpcsFile->fixer->beginChangeset(); |
186 | 186 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
187 | - $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces . 'return $this;'); |
|
187 | + $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces.'return $this;'); |
|
188 | 188 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
189 | 189 | $phpcsFile->fixer->endChangeset(); |
190 | 190 | } |
@@ -300,7 +300,7 @@ |
||
300 | 300 | |
301 | 301 | $this->file->getFixer()->addContent( |
302 | 302 | $descEndPtr, |
303 | - $this->file->getEolChar() . str_repeat(' ', $descEndToken['level']) . ' *' |
|
303 | + $this->file->getEolChar().str_repeat(' ', $descEndToken['level']).' *' |
|
304 | 304 | ); |
305 | 305 | |
306 | 306 | $this->file->getFixer()->endChangeset(); |
@@ -240,7 +240,7 @@ |
||
240 | 240 | |
241 | 241 | $this->file->getFixer()->addContent( |
242 | 242 | $summaryPtr, |
243 | - $this->file->getEolChar() . str_repeat(' ', $summaryToken['level']) . ' *' |
|
243 | + $this->file->getEolChar().str_repeat(' ', $summaryToken['level']).' *' |
|
244 | 244 | ); |
245 | 245 | |
246 | 246 | $this->file->getFixer()->endChangeset(); |
@@ -87,7 +87,7 @@ |
||
87 | 87 | array $data = [], |
88 | 88 | int $severity = 0 |
89 | 89 | ): bool { |
90 | - return $this->baseFile->addFixableError($error, $stackPtr, $code, $data, $severity); |
|
90 | + return $this->baseFile->addFixableError($error, $stackPtr, $code, $data, $severity); |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -110,7 +110,7 @@ |
||
110 | 110 | array_column($commentTags, 'content') |
111 | 111 | ); |
112 | 112 | |
113 | - uasort($tagNames, function ($tagA, $tagB) use ($sortedMetaTags) { |
|
113 | + uasort($tagNames, function($tagA, $tagB) use ($sortedMetaTags) { |
|
114 | 114 | $expectedPosA = array_search($tagA, $sortedMetaTags, true); |
115 | 115 | $expectedPosB = array_search($tagB, $sortedMetaTags, true); |
116 | 116 |
@@ -244,7 +244,7 @@ |
||
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 |