Skip to content

Commit

Permalink
Merge pull request #12 from shaffe-fr/patch-4
Browse files Browse the repository at this point in the history
Add support for PHP CS Fixer 3
  • Loading branch information
adamwojs authored Aug 23, 2021
2 parents 023af49 + 3d2fe79 commit b69a587
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/Fixer/Phpdoc/ForceFQCNFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b69a587

Please # to comment.