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
Copy file name to clipboardExpand all lines: build/baseline-pre-8.0.neon
+108Lines changed: 108 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,111 @@ parameters:
5
5
identifier:function.impossibleType
6
6
count:1
7
7
path:../src/Type/ClosureTypeFactory.php
8
+
9
+
-
10
+
rawMessage:Asserted type PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum for $this->reflection with type ReflectionClass can never happen.
11
+
identifier:assert.impossibleType
12
+
count:1
13
+
path:../src/Reflection/ClassReflection.php
14
+
15
+
-
16
+
rawMessage:'Call to an undefined method ReflectionClass::getAttributes().'
17
+
identifier:method.notFound
18
+
count:3
19
+
path:../src/Reflection/ClassReflection.php
20
+
21
+
-
22
+
rawMessage:'Call to an undefined method ReflectionClass::isReadOnly().'
23
+
identifier:method.notFound
24
+
count:1
25
+
path:../src/Reflection/ClassReflection.php
26
+
27
+
-
28
+
rawMessage:Instanceof between ReflectionClass and PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum will always evaluate to false.
29
+
identifier:instanceof.alwaysFalse
30
+
count:4
31
+
path:../src/Reflection/ClassReflection.php
32
+
33
+
-
34
+
rawMessage:'Method PHPStan\Reflection\ClassReflection::__construct() has parameter $reflection with generic class ReflectionClass but does not specify its types: T'
35
+
identifier:missingType.generics
36
+
count:1
37
+
path:../src/Reflection/ClassReflection.php
38
+
39
+
-
40
+
rawMessage:'Method PHPStan\Reflection\ClassReflection::findConstructor() should return PHPStan\BetterReflection\Reflection\Adapter\ReflectionMethod|null but returns ReflectionMethod.'
41
+
identifier:return.type
42
+
count:2
43
+
path:../src/Reflection/ClassReflection.php
44
+
45
+
-
46
+
rawMessage:'Method PHPStan\Reflection\ClassReflection::getBackedEnumType() never returns PHPStan\Type\Type so it can be removed from the return type.'
47
+
identifier:return.unusedType
48
+
count:1
49
+
path:../src/Reflection/ClassReflection.php
50
+
51
+
-
52
+
rawMessage:'Method PHPStan\Reflection\ClassReflection::getNativeReflection() never returns PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum so it can be removed from the return type.'
53
+
identifier:return.unusedType
54
+
count:1
55
+
path:../src/Reflection/ClassReflection.php
56
+
57
+
-
58
+
rawMessage:'Method PHPStan\Reflection\ClassReflection::getNativeReflection() should return PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum but returns ReflectionClass.'
59
+
identifier:return.type
60
+
count:1
61
+
path:../src/Reflection/ClassReflection.php
62
+
63
+
-
64
+
rawMessage:PHPDoc tag @param for parameter $reflection with type PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum is not subtype of native type ReflectionClass.
65
+
identifier:parameter.phpDocType
66
+
count:1
67
+
path:../src/Reflection/ClassReflection.php
68
+
69
+
-
70
+
rawMessage:PHPDoc tag @var for property PHPStan\Reflection\ClassReflection::$reflection with type PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum is not subtype of native type ReflectionClass.
71
+
identifier:property.phpDocType
72
+
count:1
73
+
path:../src/Reflection/ClassReflection.php
74
+
75
+
-
76
+
rawMessage:'Parameter #1 $class of method PHPStan\Reflection\ClassReflection::collectTraits() expects PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum, ReflectionClass given.'
77
+
identifier:argument.type
78
+
count:1
79
+
path:../src/Reflection/ClassReflection.php
80
+
81
+
-
82
+
rawMessage:'Parameter #1 $reflection of method PHPStan\Reflection\Deprecation\DeprecationProvider::getClassDeprecation() expects PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum, ReflectionClass given.'
83
+
identifier:argument.type
84
+
count:1
85
+
path:../src/Reflection/ClassReflection.php
86
+
87
+
-
88
+
rawMessage:'Property PHPStan\Reflection\ClassReflection::$reflection with generic class ReflectionClass does not specify its types: T'
rawMessage:'Method PHPStan\Reflection\ClassReflectionFactory::create() has parameter $reflection with generic class ReflectionClass but does not specify its types: T'
107
+
identifier:missingType.generics
108
+
count:1
109
+
path:../src/Reflection/ClassReflectionFactory.php
110
+
111
+
-
112
+
rawMessage:PHPDoc tag @param for parameter $reflection with type PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum is not subtype of native type ReflectionClass.
0 commit comments