File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use Rector \Config \RectorConfig ;
6+ use Rector \Removing \Rector \Class_ \RemoveInterfacesRector ;
7+ use Rector \Set \ValueObject \DowngradeLevelSetList ;
8+ use Symplify \RuleDocGenerator \Contract \ConfigurableRuleInterface ;
9+ use Symplify \RuleDocGenerator \Contract \DocumentedRuleInterface ;
10+
11+ return static function (RectorConfig $ rectorConfig ): void {
12+ $ rectorConfig ->parallel ();
13+
14+ $ rectorConfig ->sets ([DowngradeLevelSetList::DOWN_TO_PHP_74 ]);
15+
16+ $ rectorConfig ->ruleWithConfiguration (RemoveInterfacesRector::class, [
17+ DocumentedRuleInterface::class,
18+ ConfigurableRuleInterface::class,
19+ ]);
20+
21+ $ rectorConfig ->skip (['*/Tests/* ' , '*/tests/* ' , __DIR__ . '/../../tests ' ]);
22+ };
23+
You can’t perform that action at this time.
0 commit comments