|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#" |
| 4 | + message: """ |
| 5 | + #^Call to deprecated method locateRoot\\(\\) of class DrupalFinder\\\\DrupalFinder\\: |
| 6 | + Will be removed in v2\\. Future usage should instantiate |
| 7 | + a new DrupalFinder object by passing the starting path to its |
| 8 | + constructor\\.$# |
| 9 | + """ |
5 | 10 | count: 1
|
6 |
| - path: src/Rules/Deprecations/ConditionManagerCreateInstanceContextConfigurationRule.php |
| 11 | + path: src/Drupal/DrupalAutoloader.php |
7 | 12 |
|
8 | 13 | -
|
9 |
| - message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#" |
| 14 | + message: """ |
| 15 | + #^Instantiation of deprecated class DrupalFinder\\\\DrupalFinder\\: |
| 16 | + in drupal\\-finder\\:1\\.3\\.0 and is removed from drupal\\-finder\\:2\\.0\\.0\\. |
| 17 | + Use \\\\DrupalFinder\\\\DrupalFinderComposerRuntime instead\\.$# |
| 18 | + """ |
10 | 19 | count: 1
|
11 |
| - path: src/Rules/Deprecations/ConditionManagerCreateInstanceContextConfigurationRule.php |
| 20 | + path: src/Drupal/DrupalAutoloader.php |
12 | 21 |
|
13 | 22 | -
|
14 |
| - message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#" |
| 23 | + message: "#^Parameter \\#1 \\$root of class mglaman\\\\PHPStanDrupal\\\\Drupal\\\\ExtensionDiscovery constructor expects string, bool\\|string given\\.$#" |
| 24 | + count: 1 |
| 25 | + path: src/Drupal/DrupalAutoloader.php |
| 26 | + |
| 27 | + - |
| 28 | + message: "#^Parameter \\#1 \\$start_path of method DrupalFinder\\\\DrupalFinder\\:\\:locateRoot\\(\\) expects string, string\\|false given\\.$#" |
| 29 | + count: 1 |
| 30 | + path: src/Drupal/DrupalAutoloader.php |
| 31 | + |
| 32 | + - |
| 33 | + message: "#^Property mglaman\\\\PHPStanDrupal\\\\Drupal\\\\DrupalAutoloader\\:\\:\\$drupalRoot \\(string\\) does not accept bool\\|string\\.$#" |
15 | 34 | count: 1
|
16 |
| - path: src/Rules/Drupal/LoadIncludeBase.php |
| 35 | + path: src/Drupal/DrupalAutoloader.php |
17 | 36 |
|
18 | 37 | -
|
19 | 38 | message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantArrayType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantArrays\\(\\) instead\\.$#"
|
20 | 39 | count: 1
|
21 |
| - path: src/Rules/Drupal/RenderCallbackRule.php |
| 40 | + path: src/Rules/Deprecations/ConditionManagerCreateInstanceContextConfigurationRule.php |
| 41 | + |
| 42 | + - |
| 43 | + message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#" |
| 44 | + count: 1 |
| 45 | + path: src/Rules/Deprecations/ConditionManagerCreateInstanceContextConfigurationRule.php |
22 | 46 |
|
23 | 47 | -
|
24 | 48 | message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
|
25 |
| - count: 3 |
| 49 | + count: 2 |
26 | 50 | path: src/Rules/Drupal/RenderCallbackRule.php
|
27 | 51 |
|
28 | 52 | -
|
@@ -57,7 +81,7 @@ parameters:
|
57 | 81 |
|
58 | 82 | -
|
59 | 83 | message: "#^Doing instanceof PHPStan\\\\Type\\\\ObjectType is error\\-prone and deprecated\\. Use Type\\:\\:isObject\\(\\) or Type\\:\\:getObjectClassNames\\(\\) instead\\.$#"
|
60 |
| - count: 2 |
| 84 | + count: 1 |
61 | 85 | path: src/Type/EntityStorage/GetQueryReturnTypeExtension.php
|
62 | 86 |
|
63 | 87 | -
|
|
0 commit comments