Skip to content

Commit

Permalink
fix: proper base class used for AbstractDoctrineAnnotationFixer templ…
Browse files Browse the repository at this point in the history
…ates generation
  • Loading branch information
keradus committed Nov 18, 2024
1 parent ab83245 commit f9a4af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fixer/Internal/ConfigurableFixerTemplateFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function isCandidate(Tokens $tokens): bool
}
};
} elseif (AbstractDoctrineAnnotationFixer::class === $className) {
return new class extends AbstractPhpdocToTypeDeclarationFixer {
return new class extends AbstractDoctrineAnnotationFixer {

Check failure on line 528 in src/Fixer/Internal/ConfigurableFixerTemplateFixer.php

View workflow job for this annotation

GitHub Actions / Static Code Analysis

Non-abstract class class@anonymous/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php:528 contains abstract method configure() from interface PhpCsFixer\Fixer\ConfigurableFixerInterface.

Check failure on line 528 in src/Fixer/Internal/ConfigurableFixerTemplateFixer.php

View workflow job for this annotation

GitHub Actions / Static Code Analysis

Non-abstract class class@anonymous/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php:528 contains abstract method fixAnnotations() from class PhpCsFixer\AbstractDoctrineAnnotationFixer.

Check failure on line 528 in src/Fixer/Internal/ConfigurableFixerTemplateFixer.php

View workflow job for this annotation

GitHub Actions / Static Code Analysis

Non-abstract class class@anonymous/src/Fixer/Internal/ConfigurableFixerTemplateFixer.php:528 contains abstract method getConfigurationDefinition() from interface PhpCsFixer\Fixer\ConfigurableFixerInterface.
protected function isSkippedType(string $type): bool
{
throw new \LogicException('Not implemented.');
Expand Down

0 comments on commit f9a4af8

Please sign in to comment.