Skip to content

Commit 99d2d40

Browse files
committed
chore: add default rector config
1 parent 6ba9c8b commit 99d2d40

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

rector.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
14+
use Rector\Config\RectorConfig;
15+
16+
return RectorConfig::configure()
17+
->withPaths([
18+
__DIR__.'/docs',
19+
__DIR__.'/src',
20+
__DIR__.'/tests',
21+
])
22+
// uncomment to reach your current PHP version
23+
// ->withPhpSets()
24+
->withTypeCoverageLevel(0)
25+
->withDeadCodeLevel(0)
26+
->withCodeQualityLevel(0);

0 commit comments

Comments
 (0)