Skip to content

Commit 3302a8c

Browse files
committed
Disable TypedClassConstantFixer for PHP < 8.3
1 parent 9a924d5 commit 3302a8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Unwanted.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use PhpCsFixerCustomFixers\Fixer\PhpdocVarAnnotationToAssertFixer;
1515
use PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer;
1616
use PhpCsFixerCustomFixers\Fixer\ReadonlyPromotedPropertiesFixer;
17+
use PhpCsFixerCustomFixers\Fixer\TypedClassConstantFixer;
1718

1819
final class Unwanted
1920
{
@@ -55,6 +56,7 @@ public static function isUnwanted(string $name): bool
5556
PhpdocVarAnnotationToAssertFixer::name(),
5657
PromotedConstructorPropertyFixer::name(),
5758
ReadonlyPromotedPropertiesFixer::name(),
59+
TypedClassConstantFixer::name(),
5860
],
5961
true,
6062
);

0 commit comments

Comments
 (0)