mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
9187ff0430
[Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
13 lines
462 B
PHP
13 lines
462 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220602;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\DowngradePhp82\Rector\Class_\DowngradeReadonlyClassRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_81);
|
|
$rectorConfig->rule(\Rector\DowngradePhp82\Rector\Class_\DowngradeReadonlyClassRector::class);
|
|
};
|