Skip to content

Commit

Permalink
fix NoCommentFixer.php after 3.59.3 php cs fixer release
Browse files Browse the repository at this point in the history
  • Loading branch information
mtracz committed Jun 19, 2024
1 parent 0b28382 commit 5bec3e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Fixers/NoCommentFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PhpCsFixer\AbstractFixer;
use PhpCsFixer\Fixer\ConfigurableFixerInterface;
use PhpCsFixer\Fixer\ConfigurableFixerTrait;
use PhpCsFixer\Fixer\Whitespace\NoExtraBlankLinesFixer;
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolver;
use PhpCsFixer\FixerConfiguration\FixerOptionBuilder;
Expand All @@ -18,7 +19,9 @@

final class NoCommentFixer extends AbstractFixer implements ConfigurableFixerInterface
{
public function getConfigurationDefinition(): FixerConfigurationResolver
use ConfigurableFixerTrait;

public function createConfigurationDefinition(): FixerConfigurationResolver
{
return new FixerConfigurationResolver([
(new FixerOptionBuilder("doc_comment", "Docblock comments should be removed."))
Expand Down

0 comments on commit 5bec3e1

Please sign in to comment.