@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | private function checkForFluentSetterErrors(File $phpcsFile, int $functionPos, int $classPos): void |
108 | 108 | { |
109 | 109 | $tokens = $phpcsFile->getTokens(); |
110 | - $errorData = $phpcsFile->getDeclarationName($classPos) . '::' . $phpcsFile->getDeclarationName($functionPos); |
|
110 | + $errorData = $phpcsFile->getDeclarationName($classPos).'::'.$phpcsFile->getDeclarationName($functionPos); |
|
111 | 111 | |
112 | 112 | $functionToken = $tokens[$functionPos]; |
113 | 113 | $openBracePtr = $functionToken['scope_opener']; |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | ); |
150 | 150 | |
151 | 151 | if ($sniffName) { |
152 | - $sniffFQCN .= '.' . $sniffName; |
|
152 | + $sniffFQCN .= '.'.$sniffName; |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | return $sniffFQCN; |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | |
225 | 225 | $phpcsFile->fixer->beginChangeset(); |
226 | 226 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
227 | - $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces . 'return $this;'); |
|
227 | + $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces.'return $this;'); |
|
228 | 228 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
229 | 229 | $phpcsFile->fixer->endChangeset(); |
230 | 230 | } |