Skip to content

Instantly share code, notes, and snippets.

@zb010
zb010 / rector.php
Last active June 30, 2024 15:32
rector.php
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/config',