-
-
Notifications
You must be signed in to change notification settings - Fork 449
Expand file tree
/
Copy pathSetList.php
More file actions
152 lines (116 loc) · 5.03 KB
/
Copy pathSetList.php
File metadata and controls
152 lines (116 loc) · 5.03 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?php
declare(strict_types=1);
namespace Rector\Set\ValueObject;
/**
* @api
*/
final class SetList
{
/**
* @internal
*/
public const string PHP_POLYFILLS = __DIR__ . '/../../../config/set/php-polyfills.php';
public const string CODE_QUALITY = __DIR__ . '/../../../config/set/code-quality.php';
public const string CODING_STYLE = __DIR__ . '/../../../config/set/coding-style.php';
public const string DEAD_CODE = __DIR__ . '/../../../config/set/dead-code.php';
/**
* @deprecated Niche set for a rarely used extension, it is empty now and will be removed.
* Register RenameClassRector and RenameMethodRector with your own configuration instead.
*/
public const string GMAGICK_TO_IMAGICK = __DIR__ . '/../../../config/set/gmagick-to-imagick.php';
public const string NAMING = __DIR__ . '/../../../config/set/naming.php';
public const string NAMED_ARGS = __DIR__ . '/../../../config/set/named-args.php';
/**
* Opinionated rules that match rector coding standard
*/
public const string RECTOR_PRESET = __DIR__ . '/../../../config/set/rector-preset.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_52 = __DIR__ . '/../../../config/set/php52.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_53 = __DIR__ . '/../../../config/set/php53.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_54 = __DIR__ . '/../../../config/set/php54.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_55 = __DIR__ . '/../../../config/set/php55.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_56 = __DIR__ . '/../../../config/set/php56.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_70 = __DIR__ . '/../../../config/set/php70.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_71 = __DIR__ . '/../../../config/set/php71.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_72 = __DIR__ . '/../../../config/set/php72.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_73 = __DIR__ . '/../../../config/set/php73.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_74 = __DIR__ . '/../../../config/set/php74.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_80 = __DIR__ . '/../../../config/set/php80.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_81 = __DIR__ . '/../../../config/set/php81.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_82 = __DIR__ . '/../../../config/set/php82.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_83 = __DIR__ . '/../../../config/set/php83.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_84 = __DIR__ . '/../../../config/set/php84.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_85 = __DIR__ . '/../../../config/set/php85.php';
/**
* @deprecated Use withPhpSets() or withPhpLevel() instead
*/
public const string PHP_86 = __DIR__ . '/../../../config/set/php86.php';
public const string PRIVATIZATION = __DIR__ . '/../../../config/set/privatization.php';
public const string TYPE_DECLARATION = __DIR__ . '/../../../config/set/type-declaration.php';
public const string TYPE_DECLARATION_DOCBLOCKS = __DIR__ . '/../../../config/set/type-declaration-docblocks.php';
/**
* @deprecated Use code-quality set instead, as all early return rules were moved there
*/
public const string EARLY_RETURN = __DIR__ . '/../../../config/set/early-return.php';
/**
* @deprecated Use code-quality set instead, as most instanceof rules were moved there
*/
public const string INSTANCEOF = __DIR__ . '/../../../config/set/instanceof.php';
/**
* @deprecated Use code-quality and coding-style sets instead, as the if rules were moved there or deprecated
*/
public const string IF = __DIR__ . '/../../../config/set/if.php';
public const string CARBON = __DIR__ . '/../../../config/set/datetime-to-carbon.php';
public const string BEHAT_ANNOTATIONS_TO_ATTRIBUTES = __DIR__ . '/../../../config/set/behat-annotations-to-attributes.php';
/**
* All PHP version rules in one set; each rule gates itself by PHP version at runtime
*/
public const string PHP_VERSION_BASED_SET = __DIR__ . '/../../../config/set/php-version-based.php';
}