We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14a6864 commit 6cba377Copy full SHA for 6cba377
2 files changed
build/enums.neon
@@ -13,3 +13,7 @@ parameters:
13
paths:
14
- ../tests/PHPStan/Type/ObjectTypeTest.php
15
- ../tests/PHPStan/Type/IntersectionTypeTest.php
16
+ -
17
+ message: '#^Class CustomDeprecations\\MyDeprecatedEnum not found\.$#'
18
+ paths:
19
+ - ../tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php
tests/PHPStan/Reflection/Deprecation/data/deprecations-enums.php
@@ -2,18 +2,6 @@
2
3
namespace CustomDeprecations;
4
5
-#[\Attribute(\Attribute::TARGET_ALL)]
6
-class CustomDeprecated {
7
-
8
- public ?string $description;
9
10
- public function __construct(
11
- ?string $description = null
12
- ) {
- $this->description = $description;
- }
-}
#[CustomDeprecated]
enum MyDeprecatedEnum: string
{
0 commit comments