mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-04 02:58:12 +09:00
24 lines
475 B
PHP
24 lines
475 B
PHP
<?php
|
|
|
|
declare(strict_types = 1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector;
|
|
|
|
return RectorConfig::configure()
|
|
->withRootFiles()
|
|
->withPaths([
|
|
__DIR__ . '/include',
|
|
__DIR__ . '/lib',
|
|
__DIR__ . '/scripts',
|
|
])
|
|
->withSkip([
|
|
__DIR__ . '/include/vendor',
|
|
__DIR__ . '/myadmin*',
|
|
LongArrayToShortArrayRector::class
|
|
])
|
|
->withPhpSets()
|
|
->withTypeCoverageLevel(0)
|
|
->withDeadCodeLevel(0)
|
|
->withCodeQualityLevel(0);
|