File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
tests/PHPStan/Reflection/Deprecation/data Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ parameters:
1313 paths :
1414 - ../tests/PHPStan/Type/ObjectTypeTest.php
1515 - ../tests/PHPStan/Type/IntersectionTypeTest.php
16+ -
17+ message : ' #^Class CustomDeprecations\\MyDeprecatedEnum not found\.$#'
18+ paths :
19+ - ../tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php
Original file line number Diff line number Diff line change 22
33namespace CustomDeprecations ;
44
5- #[\Attribute(\Attribute::TARGET_ALL )]
6- class CustomDeprecated {
7-
8- public ?string $ description ;
9-
10- public function __construct (
11- ?string $ description = null
12- ) {
13- $ this ->description = $ description ;
14- }
15- }
16-
175#[CustomDeprecated]
186enum MyDeprecatedEnum: string
197{
You can’t perform that action at this time.
0 commit comments