1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Initial Rector fixes with basic configuration

This commit is contained in:
Yassine Guedidi 2025-04-05 13:08:13 +02:00
parent a679117736
commit 84eb99c59b
5 changed files with 90 additions and 42 deletions

16
rector.php Normal file
View file

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/app',
__DIR__ . '/fixtures',
__DIR__ . '/src',
__DIR__ . '/tests',
__DIR__ . '/web',
])
->withImportNames(importShortClasses: false)
->withTypeCoverageLevel(0);