We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c9ca9 commit dfe7788Copy full SHA for dfe7788
1 file changed
rules-tests/CodeQuality/Rector/Class_/ConvertStaticToSelfRector/config/configured_rule.php
@@ -4,6 +4,8 @@
4
5
use Rector\CodeQuality\Rector\Class_\ConvertStaticToSelfRector;
6
use Rector\Config\RectorConfig;
7
+use Rector\ValueObject\PhpVersionFeature;
8
9
return RectorConfig::configure()
- ->withRules([ConvertStaticToSelfRector::class]);
10
+ ->withRules([ConvertStaticToSelfRector::class])
11
+ ->withPhpVersion(PhpVersionFeature::FINAL_CLASS_CONSTANTS);
0 commit comments