Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Nov 18, 2024
1 parent 2051464 commit 774ab8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/AbstractDoctrineAnnotationFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
* @internal
*
* @phpstan-type _AutogeneratedInputConfiguration array{
* scalar_types?: bool,
* union_types?: bool
* ignored_tags?: list<string>
* }
* @phpstan-type _AutogeneratedComputedConfiguration array{
* scalar_types: bool,
* union_types: bool
* ignored_tags: list<string>
* }
*
* @implements ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>
Expand Down
6 changes: 4 additions & 2 deletions src/Fixer/Internal/ConfigurableFixerTemplateFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
use PhpCsFixer\Fixer\Phpdoc\PhpdocTagTypeFixer;
use PhpCsFixer\Fixer\WhitespacesAwareFixerInterface;
use PhpCsFixer\FixerConfiguration\AllowedValueSubset;
use PhpCsFixer\FixerConfiguration\FixerOptionBuilder;
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolver;
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolverInterface;
use PhpCsFixer\FixerDefinition\CodeSample;
use PhpCsFixer\FixerDefinition\FixerDefinition;
Expand Down Expand Up @@ -555,7 +557,7 @@ public function isCandidate(Tokens $tokens): bool

public function configure(array $configuration): void
{
throw new \LogicException('Not implemented.');
// void
}

protected function fixAnnotations(DoctrineAnnotationTokens $doctrineAnnotationTokens): void
Expand All @@ -565,7 +567,7 @@ protected function fixAnnotations(DoctrineAnnotationTokens $doctrineAnnotationTo

public function getConfigurationDefinition(): FixerConfigurationResolverInterface
{
throw new \LogicException('Not implemented.');
return $this->createConfigurationDefinition();
}
};
}
Expand Down

0 comments on commit 774ab8b

Please sign in to comment.