WIP: Fix TypeHintSniff
* Make TypeHintSniff tests pass again. * Fix typo in class name preventing new feature mechanism from matching. Relates: #72
This commit is contained in:
parent
94df1f2ad1
commit
c4c8faacd2
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ use Typo3Update\Sniffs\Classname\AbstractClassnameChecker;
|
|||
/**
|
||||
* Migrate Typehints in function / method definitions.
|
||||
*/
|
||||
class Typo3Update_Sniffs_Classname_TypehintSniff extends AbstractClassnameChecker
|
||||
class Typo3Update_Sniffs_Classname_TypeHintSniff extends AbstractClassnameChecker
|
||||
{
|
||||
/**
|
||||
* Returns the token types that this sniff is interested in.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- tests/Fixtures/Standards/Typo3Update/Sniffs/LegacyClassnames/TypeHintSniff/InputFileForIssues.php
|
||||
--- tests/Fixtures/Standards/Typo3Update/Sniffs/Classname/TypeHintSniff/InputFileForIssues.php
|
||||
+++ PHP_CodeSniffer
|
||||
@@ -25,10 +25,10 @@
|
||||
function something(\TYPO3\CMS\Extbase\Domain\Model\BackendUser $user)
|
||||
|
|
Loading…
Reference in a new issue