diff --git a/composer.json b/composer.json index 10dc1b9..f1a259c 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": "^7.1||^8.0", - "friendsofphp/php-cs-fixer": "^2.7" + "friendsofphp/php-cs-fixer": "^3.0" }, "autoload": { "psr-4": { diff --git a/src/Fixer/Phpdoc/ForceFQCNFixer.php b/src/Fixer/Phpdoc/ForceFQCNFixer.php index 3c7f5ef..b6f876f 100644 --- a/src/Fixer/Phpdoc/ForceFQCNFixer.php +++ b/src/Fixer/Phpdoc/ForceFQCNFixer.php @@ -9,14 +9,14 @@ use AdamWojs\PhpCsFixerPhpdocForceFQCN\FQCN\FQCNTypeNormalizer; use PhpCsFixer\DocBlock\Annotation; use PhpCsFixer\DocBlock\DocBlock; -use PhpCsFixer\Fixer\DefinedFixerInterface; +use PhpCsFixer\Fixer\FixerInterface; use PhpCsFixer\FixerDefinition\FixerDefinition; use PhpCsFixer\FixerDefinition\FixerDefinitionInterface; use PhpCsFixer\Tokenizer\Token; use PhpCsFixer\Tokenizer\Tokens; use SplFileInfo; -class ForceFQCNFixer implements DefinedFixerInterface +class ForceFQCNFixer implements FixerInterface { /** @var \AdamWojs\PhpCsFixerPhpdocForceFQCN\FQCN\FQCNTypeNormalizer */ private $normalizer;