Skip to content

Commit dfe7788

Browse files
committed
update config
1 parent 64c9ca9 commit dfe7788

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rules-tests/CodeQuality/Rector/Class_/ConvertStaticToSelfRector/config/configured_rule.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
use Rector\CodeQuality\Rector\Class_\ConvertStaticToSelfRector;
66
use Rector\Config\RectorConfig;
7+
use Rector\ValueObject\PhpVersionFeature;
78

89
return RectorConfig::configure()
9-
->withRules([ConvertStaticToSelfRector::class]);
10+
->withRules([ConvertStaticToSelfRector::class])
11+
->withPhpVersion(PhpVersionFeature::FINAL_CLASS_CONSTANTS);

0 commit comments

Comments
 (0)