-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.php
More file actions
42 lines (40 loc) · 985 Bytes
/
Copy pathrector.php
File metadata and controls
42 lines (40 loc) · 985 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withAttributesSets()
->withAutoloadPaths([])
->withBootstrapFiles([])
->withCache()
->withComposerBased()
// ->withConfiguredRule()
->withDowngradeSets(php82: true)
->withFluentCallNewLine()
->withImportNames(removeUnusedImports: true)
->withIndent(' ', 2)
->withParallel()
->withPaths([
__DIR__ . '/app',
__DIR__ . '/tests',
__DIR__ . '/resources/views',
])
->withPhpSets(php82: true)
->withPreparedSets(
deadCode: false,
codeQuality: false,
codingStyle: false,
typeDeclarations: false,
privatization: false,
naming: false,
instanceOf: false,
earlyReturn: false,
strictBooleans: false,
rectorPreset: false,
phpunitCodeQuality: false,
)
->withRealPathReporting()
->withRootFiles()
->withSkip([])
->withSkipPath(__DIR__ . '/vendor')
->withSkipPath(__DIR__ . '/node_modules')
->withSkipPath(__DIR__ . '/.git')
;