Skip to content

Commit 916f629

Browse files
committed
feat: create rector config file
1 parent 3c15039 commit 916f629

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/rector.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Rector\Config\RectorConfig;
6+
7+
return RectorConfig::configure()
8+
->withPaths([
9+
__DIR__ . '/app',
10+
__DIR__ . '/bootstrap',
11+
__DIR__ . '/config',
12+
__DIR__ . '/public',
13+
__DIR__ . '/resources',
14+
__DIR__ . '/routes',
15+
__DIR__ . '/tests',
16+
])
17+
// uncomment to reach your current PHP version
18+
// ->withPhpSets()
19+
->withTypeCoverageLevel(0)
20+
->withDeadCodeLevel(0)
21+
->withCodeQualityLevel(0);

0 commit comments

Comments
 (0)