forked from humhub/humhub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.php
More file actions
22 lines (19 loc) · 664 Bytes
/
Copy pathrector.php
File metadata and controls
22 lines (19 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/protected/humhub',
])
->withSkip([
\Rector\Php81\Rector\Array_\FirstClassCallableRector::class,
\Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector::class,
__DIR__ . '/protected/humhub/config/*',
__DIR__ . '/protected/humhub/messages/*',
__DIR__ . '/protected/humhub/modules/*/messages/*',
__DIR__ . '/protected/humhub/modules/*/config.php',
])
->withPhpSets()
->withTypeCoverageLevel(0)
->withDeadCodeLevel(0)
->withCodeQualityLevel(0);