mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-15 17:37:39 +00:00
21 lines
585 B
PHP
21 lines
585 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\CodeQuality\Rector\ClassMethod\LocallyCalledStaticMethodToNonStaticRector;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/benchmark',
|
|
__DIR__ . '/examples',
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
])
|
|
// uncomment to reach your current PHP version
|
|
->withPhpSets()
|
|
->withPreparedSets(deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations : true)
|
|
->withSkip([
|
|
LocallyCalledStaticMethodToNonStaticRector::class,
|
|
]);;
|