mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-19 23:55:32 +01:00
17 lines
371 B
Plaintext
17 lines
371 B
Plaintext
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__PATHS__
|
|
])
|
|
// uncomment to reach your current PHP version
|
|
// ->withPhpSets()
|
|
->withRules([
|
|
AddVoidReturnTypeWhereNoReturnRector::class,
|
|
]);
|