2020-09-28 21:42:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-04-12 08:58:57 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
2024-02-04 12:44:34 +00:00
|
|
|
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
|
2020-09-28 21:42:20 +00:00
|
|
|
|
2024-01-26 21:43:08 +00:00
|
|
|
return RectorConfig::configure()
|
|
|
|
->withPaths([
|
2022-11-11 14:53:57 +00:00
|
|
|
__PATHS__
|
2024-01-26 21:43:08 +00:00
|
|
|
])
|
2024-02-04 12:44:34 +00:00
|
|
|
// uncomment to reach your current PHP version
|
|
|
|
// ->withPhpSets()
|
2024-01-26 21:43:08 +00:00
|
|
|
->withRules([
|
2024-02-04 12:44:34 +00:00
|
|
|
AddVoidReturnTypeWhereNoReturnRector::class,
|
2021-09-02 11:45:03 +00:00
|
|
|
]);
|