| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,7 +55,7 @@ public function process(File $phpcsFile, $coalescePointer) : void | |||
| 55 | 55 | $phpcsFile->fixer->endChangeset(); | |
| 56 | 56 | } | |
| 57 | 57 | ||
| 58 | - private function getEndOfLineBefore(\PHP_CodeSniffer\Files\File $phpcsFile, int $pointer) : int | ||
| 58 | + private function getEndOfLineBefore(File $phpcsFile, int $pointer) : int | ||
| 59 | 59 | { | |
| 60 | 60 | $tokens = $phpcsFile->getTokens(); | |
| 61 | 61 | ||
@@ -103,7 +103,7 @@ private function getEndOfLineBefore(\PHP_CodeSniffer\Files\File $phpcsFile, int | |||
| 103 | 103 | return $endOfLineBefore; | |
| 104 | 104 | } | |
| 105 | 105 | ||
| 106 | - private function getIndentation(\PHP_CodeSniffer\Files\File $phpcsFile, int $endOfLinePointer) : string | ||
| 106 | + private function getIndentation(File $phpcsFile, int $endOfLinePointer) : string | ||
| 107 | 107 | { | |
| 108 | 108 | $pointerAfterWhitespace = TokenHelper::findNextExcluding($phpcsFile, \T_WHITESPACE, $endOfLinePointer + 1); | |
| 109 | 109 | $actualIndentation = TokenHelper::getContent($phpcsFile, $endOfLinePointer + 1, $pointerAfterWhitespace - 1); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -388,7 +388,7 @@ static function (bool $carry, string $use) use ($canonicalName) : bool { | |||
| 388 | 388 | $phpcsFile->fixer->endChangeset(); | |
| 389 | 389 | } | |
| 390 | 390 | ||
| 391 | - private function getUseStatementPlacePointer(\PHP_CodeSniffer\Files\File $phpcsFile, int $openTagPointer, array $useStatements) : int | ||
| 391 | + private function getUseStatementPlacePointer(File $phpcsFile, int $openTagPointer, array $useStatements) : int | ||
| 392 | 392 | { | |
| 393 | 393 | if (\count($useStatements) !== 0) { | |
| 394 | 394 | $lastUseStatement = \array_values($useStatements)[\count($useStatements) - 1]; | |
@@ -436,7 +436,7 @@ private function getUseStatementPlacePointer(\PHP_CodeSniffer\Files\File $phpcsF | |||
| 436 | 436 | return $useStatementPlacePointer; | |
| 437 | 437 | } | |
| 438 | 438 | ||
| 439 | - private function getReferences(\PHP_CodeSniffer\Files\File $phpcsFile, int $openTagPointer) : array | ||
| 439 | + private function getReferences(File $phpcsFile, int $openTagPointer) : array | ||
| 440 | 440 | { | |
| 441 | 441 | $references = []; | |
| 442 | 442 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -224,7 +224,7 @@ private function checkTypeHint(File $phpcsFile, TypeHint $typeHint) : void | |||
| 224 | 224 | ||
| 225 | 225 | private function getTypeHintContentWithoutNull( | |
| 226 | 226 | File $phpcsFile, | |
| 227 | - \SlevomatCodingStandard\Helpers\TypeHint $typeHint, | ||
| 227 | + TypeHint $typeHint, | ||
| 228 | 228 | ) : string | |
| 229 | 229 | { | |
| 230 | 230 | $tokens = $phpcsFile->getTokens(); | |
@@ -258,7 +258,7 @@ private function getTypeHintContentWithoutNull( | |||
| 258 | 258 | ||
| 259 | 259 | private function fixTypeHint( | |
| 260 | 260 | File $phpcsFile, | |
| 261 | - \SlevomatCodingStandard\Helpers\TypeHint $typeHint, | ||
| 261 | + TypeHint $typeHint, | ||
| 262 | 262 | string $fixedTypeHint, | |
| 263 | 263 | ) : void | |
| 264 | 264 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -168,12 +168,12 @@ protected function processMemberVar(File $phpcsFile, $stackPtr) : ?int | |||
| 168 | 168 | } | |
| 169 | 169 | ||
| 170 | 170 | //@phpcs:ignore Squiz.Commenting.FunctionComment.ScalarTypeHintMissing | |
| 171 | - protected function processVariable(\PHP_CodeSniffer\Files\File $phpcsFile, $stackPtr) : void | ||
| 171 | + protected function processVariable(File $phpcsFile, $stackPtr) : void | ||
| 172 | 172 | { | |
| 173 | 173 | } | |
| 174 | 174 | ||
| 175 | 175 | //@phpcs:ignore Squiz.Commenting.FunctionComment.ScalarTypeHintMissing | |
| 176 | - protected function processVariableInString(\PHP_CodeSniffer\Files\File $phpcsFile, $stackPtr) : void | ||
| 176 | + protected function processVariableInString(File $phpcsFile, $stackPtr) : void | ||
| 177 | 177 | { | |
| 178 | 178 | } | |
| 179 | 179 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments