You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'PHPDoc tag @method for method MethodTag\Foo::doFoo() return type contains unknown class MethodTag\intt.',
60
+
$fooClassLine,
61
+
'Learn more at https://phpstan.org/user-guide/discovering-symbols',
62
62
],
63
63
[
64
-
'PHPDoc tag @method for method MethodTag\TestGenerics::doA() return type contains generic type Exception<int> but class Exception is not generic.',
64
+
'Generic type MethodTag\Generic<int, string, float> in PHPDoc tag @method for method MethodTag\TestGenerics::doC() return type specifies 3 template types, but class MethodTag\Generic supports only 2: T, U',
65
65
39,
66
66
],
67
67
[
68
68
'Generic type MethodTag\Generic<int> in PHPDoc tag @method for method MethodTag\TestGenerics::doB() return type does not specify all template types of class MethodTag\Generic: T, U',
69
69
39,
70
70
],
71
71
[
72
-
'Generic type MethodTag\Generic<int, string, float> in PHPDoc tag @method for method MethodTag\TestGenerics::doC() return type specifies 3 template types, but class MethodTag\Generic supports only 2: T, U',
72
+
'PHPDoc tag @method for method MethodTag\TestGenerics::doA() return type contains generic type Exception<int> but class Exception is not generic.',
73
73
39,
74
74
],
75
75
[
@@ -90,16 +90,16 @@ public function testRule(): void
90
90
63,
91
91
],
92
92
[
93
-
'PHPDoc tag @method for method MethodTag\NonexistentClasses::doA() return type contains unknown class MethodTag\Nonexistent.',
93
+
'Class MethodTag\Foo referenced with incorrect case: MethodTag\fOO.',
94
94
73,
95
-
'Learn more at https://phpstan.org/user-guide/discovering-symbols',
96
95
],
97
96
[
98
-
'PHPDoc tag @method for method MethodTag\NonexistentClasses::doB() return type contains invalid type PropertyTagTrait\Foo.',
97
+
'PHPDoc tag @method for method MethodTag\NonexistentClasses::doA() return type contains unknown class MethodTag\Nonexistent.',
99
98
73,
99
+
'Learn more at https://phpstan.org/user-guide/discovering-symbols',
100
100
],
101
101
[
102
-
'Class MethodTag\Foo referenced with incorrect case: MethodTag\fOO.',
102
+
'PHPDoc tag @method for method MethodTag\NonexistentClasses::doB() return type contains invalid type PropertyTagTrait\Foo.',
0 commit comments