Repository navigation
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
109 lines (92 loc) · 5.11 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
109 lines (92 loc) · 5.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
parameters:
ignoreErrors:
-
message: '#^Call to an undefined static method T of object\:\:loadMetadata\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: src/Mapping/Driver/StaticPHPDriver.php
-
message: '#^Template type TObjectManager is declared as covariant, but occurs in invariant position in property Doctrine\\Persistence\\ObjectManagerDecorator\:\:\$wrapped\.$#'
identifier: generics.variance
count: 1
path: src/ObjectManagerDecorator.php
-
message: '#^Method Doctrine\\Persistence\\Reflection\\EnumReflectionProperty\:\:toEnum\(\) should return array\<BackedEnum\>\|BackedEnum but returns array\<BackedEnum\|int\|string\>\.$#'
identifier: return.type
count: 1
path: src/Reflection/EnumReflectionProperty.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(BackedEnum\|int\|string\)\: mixed\)\|null, array\{class\-string\<BackedEnum\>, ''from''\} given\.$#'
identifier: argument.type
count: 1
path: src/Reflection/EnumReflectionProperty.php
-
message: '#^PHPDoc tag @var with type Doctrine\\Persistence\\Mapping\\ClassMetadata\<object\> is not subtype of native type PHPUnit\\Framework\\MockObject\\Stub\.$#'
identifier: varTag.nativeType
count: 1
path: tests/Mapping/ClassMetadataFactoryTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{''Doctrine\\\\Tests…'', ''Doctrine\\\\Tests\\\\ORM…'', ''Doctrine\\\\Tests\\\\ORM…''\} and list\<class\-string\> will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Mapping/DriverChainTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{''Doctrine\\\\Tests…'', ''Other\\\\Class''\} and list\<class\-string\> will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Mapping/DriverChainTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Doctrine\\\\Persistence\\\\Reflection\\\\RuntimeReflectionProperty'' and Doctrine\\Persistence\\Reflection\\RuntimeReflectionProperty will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 3
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''ReflectionProperty'' and Doctrine\\Persistence\\Reflection\\RuntimeReflectionProperty will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 5
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Property Doctrine\\Tests\\Persistence\\Mapping\\RuntimeReflectionServiceTest\:\:\$nonTypedDefaultProperty is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Property Doctrine\\Tests\\Persistence\\Mapping\\RuntimeReflectionServiceTest\:\:\$nonTypedNoDefaultProperty is unused\.$#'
identifier: property.unused
count: 1
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Property Doctrine\\Tests\\Persistence\\Mapping\\RuntimeReflectionServiceTest\:\:\$typedDefaultProperty is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Property Doctrine\\Tests\\Persistence\\Mapping\\RuntimeReflectionServiceTest\:\:\$typedNoDefaultProperty is unused\.$#'
identifier: property.unused
count: 1
path: tests/Mapping/RuntimeReflectionServiceTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{''Foo\\\\stdClass'', ''Foo\\\\sub\\\\subClass'', ''Foo\\\\sub\\\\subsub…''\} and list\<class\-string\> will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Mapping/SymfonyFileLocatorTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with non\-empty\-list\<''Foo\\\\Bar\\\\subDirClass''\|''Foo\\\\global''\|''Foo\\\\stdClass''\> and list\<class\-string\> will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Mapping/SymfonyFileLocatorTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with non\-empty\-list\<''Foo\\\\Bar\\\\subDirClass''\|''Foo\\\\stdClass''\> and list\<class\-string\> will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 1
path: tests/Mapping/SymfonyFileLocatorTest.php
-
message: '#^Property Doctrine\\Tests\\Persistence\\Reflection\\TypedFoo\:\:\$id is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: tests/Reflection/TypedNoDefaultReflectionPropertyTest.php
-
message: '#^Method Doctrine\\Tests\\Persistence\\RuntimeReflectionPropertyTestProxyMock\:\:__setInitialized\(\) has parameter \$initialized with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: tests/RuntimeReflectionPropertyTest.php