1
0
mirror of https://github.com/furyfire/trueskill.git synced 2025-04-07 15:44:01 +00:00
Files
trueskill/rector.php

20 lines
475 B
PHP

<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/benchmark',
__DIR__ . '/examples',
__DIR__ . '/src',
__DIR__ . '/tests',
])
// uncomment to reach your current PHP version
->withPhpSets()
->withRules([
AddVoidReturnTypeWhereNoReturnRector::class,
]);