mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
Rectorize to PHP 7.4
Switches to short anonymous function syntax.
This commit is contained in:
committed by
Jérémy Benoist
parent
e792644fe8
commit
89d3b74259
+2
-2
@@ -23,9 +23,9 @@ return static function (RectorConfig $rectorConfig): void {
|
||||
|
||||
// Define what rule sets will be applied
|
||||
$rectorConfig->sets([
|
||||
LevelSetList::UP_TO_PHP_72,
|
||||
LevelSetList::UP_TO_PHP_74,
|
||||
]);
|
||||
|
||||
// is your PHP version different from the one your refactor to?
|
||||
$rectorConfig->phpVersion(PhpVersion::PHP_72);
|
||||
$rectorConfig->phpVersion(PhpVersion::PHP_74);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user