forked from GitLabPHP/Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.yml
More file actions
102 lines (101 loc) · 5.87 KB
/
rector.yml
File metadata and controls
102 lines (101 loc) · 5.87 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
parameters:
autoload_paths:
- 'vendor/autoload.php'
- 'vendor-bin/phpunit/vendor/autoload.php'
auto_import_names: true
import_short_classes: false
import_doc_blocks: false
php_version_features: '7.1'
paths:
- 'src'
- 'tests'
sets:
- 'php52'
- 'php53'
- 'php54'
- 'php55'
- 'php56'
- 'php70'
- 'php71'
- 'phpunit40'
- 'phpunit50'
- 'phpunit60'
- 'phpunit70'
- 'phpunit75'
services:
Rector\CodeQuality\Rector\Ternary\ArrayKeyExistsTernaryThenValueToCoalescingRector: ~
Rector\CodeQuality\Rector\FuncCall\ArrayKeysAndInArrayToArrayKeyExistsRector: ~
Rector\CodeQuality\Rector\FuncCall\ArrayMergeOfNonArraysToSimpleArrayRector: ~
Rector\CodeQuality\Rector\Identical\BooleanNotIdenticalToNotIdenticalRector: ~
Rector\CodeQuality\Rector\FuncCall\ChangeArrayPushToArrayAssignRector: ~
Rector\CodeQuality\Rector\If_\CombineIfRector: ~
Rector\CodeQuality\Rector\Assign\CombinedAssignRector: ~
Rector\CodeQuality\Rector\FuncCall\CompactToVariablesRector: ~
Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector: ~
Rector\CodeQuality\Rector\If_\ConsecutiveNullCompareReturnsToNullCoalesceQueueRector: ~
Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector: ~
Rector\CodeQuality\Rector\Foreach_\ForeachToInArrayRector: ~
Rector\CodeQuality\Rector\FuncCall\InArrayAndArrayKeysToArrayKeyExistsRector: ~
Rector\CodeQuality\Rector\BinaryOp\InlineIfToExplicitIfRector: ~
Rector\CodeQuality\Rector\FuncCall\IntvalToTypeCastRector: ~
Rector\CodeQuality\Rector\FuncCall\IsAWithStringWithThirdArgumentRector: ~
Rector\CodeQuality\Rector\If_\RemoveAlwaysTrueConditionSetInConstructorRector: ~
Rector\CodeQuality\Rector\FuncCall\RemoveSoleValueSprintfRector: ~
Rector\CodeQuality\Rector\If_\ShortenElseIfRector: ~
Rector\CodeQuality\Rector\Identical\SimplifyArraySearchRector: ~
Rector\CodeQuality\Rector\Identical\SimplifyBoolIdenticalTrueRector: ~
Rector\CodeQuality\Rector\Identical\SimplifyConditionsRector: ~
Rector\CodeQuality\Rector\Ternary\SimplifyDuplicatedTernaryRector: ~
Rector\CodeQuality\Rector\Foreach_\SimplifyForeachToCoalescingRector: ~
Rector\CodeQuality\Rector\If_\SimplifyIfElseToTernaryRector: ~
Rector\CodeQuality\Rector\If_\SimplifyIfIssetToNullCoalescingRector: ~
Rector\CodeQuality\Rector\If_\SimplifyIfNotNullReturnRector: ~
Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector: ~
Rector\CodeQuality\Rector\FuncCall\SimplifyInArrayValuesRector: ~
Rector\CodeQuality\Rector\FuncCall\SimplifyStrposLowerRector: ~
Rector\CodeQuality\Rector\Ternary\SimplifyTautologyTernaryRector: ~
Rector\CodeQuality\Rector\Return_\SimplifyUselessVariableRector: ~
Rector\CodeQuality\Rector\FuncCall\SingleInArrayToCompareRector: ~
Rector\CodeQuality\Rector\Assign\SplitListAssignToSeparateLineRector: ~
Rector\CodeQuality\Rector\FuncCall\StrlenZeroToIdenticalEmptyStringRector: ~
Rector\CodeQuality\Rector\Ternary\UnnecessaryTernaryExpressionRector: ~
Rector\CodeQuality\Rector\Equal\UseIdenticalOverEqualWithSameTypeRector: ~
Rector\CodingStyle\Rector\FuncCall\ConsistentImplodeRector: ~
Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector: ~
Rector\CodingStyle\Rector\FuncCall\FunctionCallToConstantRector: ~
Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector: ~
Rector\CodingStyle\Rector\If_\NullableCompareToNullRector: ~
Rector\CodingStyle\Rector\FuncCall\SimpleArrayCallableToStringRector: ~
Rector\CodingStyle\Rector\ClassConst\SplitGroupedConstantsAndPropertiesRector: ~
Rector\CodingStyle\Rector\ClassConst\VarConstantCommentRector: ~
Rector\CodingStyle\Rector\FuncCall\VersionCompareFuncCallToConstantRector: ~
Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector: ~
Rector\DeadCode\Rector\BooleanAnd\RemoveAndTrueRector: ~
Rector\DeadCode\Rector\Assign\RemoveAssignOfVoidReturnFunctionRector: ~
Rector\DeadCode\Rector\FunctionLike\RemoveCodeAfterReturnRector: ~
Rector\DeadCode\Rector\For_\RemoveDeadIfForeachForRector: ~
Rector\DeadCode\Rector\FunctionLike\RemoveDeadReturnRector: ~
Rector\DeadCode\Rector\Stmt\RemoveDeadStmtRector: ~
Rector\DeadCode\Rector\TryCatch\RemoveDeadTryCatchRector: ~
Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector: ~
Rector\DeadCode\Rector\Assign\RemoveDoubleAssignRector: ~
Rector\DeadCode\Rector\Array_\RemoveDuplicatedArrayKeyRector: ~
Rector\DeadCode\Rector\Switch_\RemoveDuplicatedCaseInSwitchRector: ~
Rector\DeadCode\Rector\FunctionLike\RemoveDuplicatedIfReturnRector: ~
Rector\DeadCode\Rector\Instanceof_\RemoveDuplicatedInstanceOfRector: ~
Rector\DeadCode\Rector\Stmt\RemoveUnreachableStatementRector: ~
Rector\DeadCode\Rector\ClassConst\RemoveUnusedClassConstantRector: ~
Rector\DeadCode\Rector\Foreach_\RemoveUnusedForeachKeyRector: ~
Rector\DeadCode\Rector\If_\RemoveUnusedNonEmptyArrayBeforeForeachRector: ~
Rector\DeadCode\Rector\ClassConst\RemoveUnusedPrivateConstantRector: ~
Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector: ~
Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector: ~
Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector: ~
Rector\DeadCode\Rector\If_\SimplifyIfElseWithSameContentRector: ~
Rector\DeadCode\Rector\Expression\SimplifyMirrorAssignRector: ~
Rector\DeadCode\Rector\Ternary\TernaryToBooleanOrFalseToBooleanAndRector: ~
Rector\Performance\Rector\FuncCall\PreslashSimpleFunctionRector: ~
Rector\SOLID\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector: ~
Rector\SOLID\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector: ~
Rector\SOLID\Rector\If_\ChangeNestedIfsToEarlyReturnRector: ~
Rector\SOLID\Rector\If_\RemoveAlwaysElseRector: ~