mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-27 21:23:31 +00:00
992d1efc75
[CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212)
11 lines
299 B
PHP
11 lines
299 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220502;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\DowngradeSetList;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([\Rector\Set\ValueObject\DowngradeSetList::PHP_81]);
|
|
};
|