forked from softberg/quantum-php-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.php
More file actions
26 lines (23 loc) · 710 Bytes
/
rector.php
File metadata and controls
26 lines (23 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
declare(strict_types=1);
use Rector\TypeDeclaration\Rector\StmtsAwareInterface\DeclareStrictTypesRector;
use Rector\TypeDeclaration\Rector\ClassMethod\StrictStringParamConcatRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
])
->withSets([
LevelSetList::UP_TO_PHP_80,
SetList::TYPE_DECLARATION,
])
->withRules([
DeclareStrictTypesRector::class,
])
->withSkip([
StrictStringParamConcatRector::class => [
__DIR__ . '/src/Database/Adapters/Idiorm/Statements/Criteria.php',
],
]);