Repository navigation
Expand file tree
/
Copy pathphpstan-deprecated.neon
More file actions
40 lines (34 loc) · 1.71 KB
/
Copy pathphpstan-deprecated.neon
File metadata and controls
40 lines (34 loc) · 1.71 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
# deprecated code kept temporarily, ignores to drop once the deprecated API is removed
parameters:
ignoreErrors:
# deprecated, to be removed
-
message: '#^Unused Rector\\Set\\Contract\\SetInterface\:\:(.*?)$#'
identifier: shipmonk.deadMethod
path: src/Set/Contract/SetInterface.php
-
message: '#^Unused Rector\\Arguments\\ValueObject\\ReplaceArgumentDefaultValue\:\:(.*?)$#'
identifier: shipmonk.deadMethod
path: rules/Arguments/ValueObject/ReplaceArgumentDefaultValue.php
# the deprecated set objects are still resolved internally, until every extension bonds its rules
-
message: '#deprecated (class|interface) Rector\\(Set|Bridge)\\#'
path: src/Configuration/RectorConfigBuilder.php
# EARLY_RETURN set is deprecated (empty, merged into code-quality), still mapped internally until removed
-
identifier: classConstant.deprecated
paths:
- src/Configuration/RectorConfigBuilder.php
# the deprecated SetList::PHP_* constants are still resolved internally by the level sets and their tests
-
identifier: classConstant.deprecated
paths:
- config/set/level
- tests/Bridge/SetRectorsResolverTest.php
# the deprecated github/gitlab output formatters are still tested until removed in next minor version
-
identifier: new.deprecatedClass
path: tests/ChangesReporting/Output/GitHubOutputFormatterTest.php
-
identifier: method.deprecatedClass
path: tests/ChangesReporting/Output/GitHubOutputFormatterTest.php