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 0c56fbe commit e9b053aCopy full SHA for e9b053a
rector.php
@@ -1,6 +1,7 @@
1
<?php
2
3
use Rector\Core\Configuration\Option;
4
+use Rector\Core\ValueObject\PhpVersion;
5
use Rector\CodeQuality\Rector\Return_\SimplifyUselessVariableRector;
6
use Rector\Performance\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
7
use Rector\SOLID\Rector\If_\RemoveAlwaysElseRector;
@@ -30,7 +31,7 @@
30
31
// auto import fully qualified class names
32
$parameters->set(Option::AUTO_IMPORT_NAMES, true);
33
$parameters->set(Option::ENABLE_CACHE, true);
- $parameters->set(Option::PHP_VERSION_FEATURES, '7.3');
34
+ $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_73);
35
36
$services = $containerConfigurator->services();
37
$services->set(UnderscoreToCamelCaseVariableNameRector::class);
0 commit comments