Skip to content

Commit

Permalink
fix missing abstract classes
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Nov 18, 2024
1 parent f9a4af8 commit 2051464
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Fixer/Internal/ConfigurableFixerTemplateFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use PhpCsFixer\AbstractPhpdocToTypeDeclarationFixer;
use PhpCsFixer\Console\Command\HelpCommand;
use PhpCsFixer\DocBlock\DocBlock;
use PhpCsFixer\Doctrine\Annotation\Tokens as DoctrineAnnotationTokens;
use PhpCsFixer\Fixer\AttributeNotation\OrderedAttributesFixer;
use PhpCsFixer\Fixer\Casing\ConstantCaseFixer;
use PhpCsFixer\Fixer\ClassNotation\FinalInternalClassFixer;
Expand All @@ -36,6 +37,7 @@
use PhpCsFixer\Fixer\Phpdoc\PhpdocTagTypeFixer;
use PhpCsFixer\Fixer\WhitespacesAwareFixerInterface;
use PhpCsFixer\FixerConfiguration\AllowedValueSubset;
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolverInterface;
use PhpCsFixer\FixerDefinition\CodeSample;
use PhpCsFixer\FixerDefinition\FixerDefinition;
use PhpCsFixer\FixerDefinition\FixerDefinitionInterface;
Expand Down Expand Up @@ -550,6 +552,21 @@ public function isCandidate(Tokens $tokens): bool
{
throw new \LogicException('Not implemented.');
}

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

protected function fixAnnotations(DoctrineAnnotationTokens $doctrineAnnotationTokens): void
{
throw new \LogicException('Not implemented.');
}

public function getConfigurationDefinition(): FixerConfigurationResolverInterface
{
throw new \LogicException('Not implemented.');
}
};
}

Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/RuleSets.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static function getSetDefinitions(): array

foreach (Finder::create()->files()->in(__DIR__.'/Sets') as $file) {
$class = 'PhpCsFixer\RuleSet\Sets\\'.$file->getBasename('.php');

/** @var RuleSetDescriptionInterface */
$set = new $class();

Expand Down

0 comments on commit 2051464

Please sign in to comment.