-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.php
More file actions
35 lines (32 loc) · 1.01 KB
/
rector.php
File metadata and controls
35 lines (32 loc) · 1.01 KB
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
27
28
29
30
31
32
33
34
35
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Doctrine\Set\DoctrineSetList;
use Rector\Symfony\Set\SymfonySetList;
return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
__DIR__.'/lib/DocGenerator/src',
__DIR__.'/lib/Documents/src',
__DIR__.'/lib/DtsGenerator/src',
__DIR__.'/lib/EntityGenerator/src',
__DIR__.'/lib/Jwt/src',
__DIR__.'/lib/Markdown/src',
__DIR__.'/lib/Models/src',
__DIR__.'/lib/OpenId/src',
__DIR__.'/lib/Random/src',
__DIR__.'/lib/RoadizCoreBundle/src',
__DIR__.'/lib/RoadizRozierBundle/src',
__DIR__.'/lib/RoadizTwoFactorBundle/src',
__DIR__.'/lib/RoadizUserBundle/src',
__DIR__.'/lib/RoadizSolrBundle/src',
])
->withPhpSets(php83: true)
->withSets([
DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES,
SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES,
])
->withSkip([
__DIR__.'/lib/Rozier/src/node_modules/',
])
;