Skip to content

Commit 13ff73c

Browse files
committed
Add rector with ASC rules
1 parent dafe4b2 commit 13ff73c

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

rector.php

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

0 commit comments

Comments
 (0)