Skip to content

Commit 8a77f4a

Browse files
authored
Regenerate baseline (#693)
1 parent f8359a0 commit 8a77f4a

File tree

4 files changed

+218
-3
lines changed

4 files changed

+218
-3
lines changed

phpstan-baseline-dbal-4.neon

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,219 @@ parameters:
3030
count: 1
3131
path: src/Type/Doctrine/Query/QueryResultTypeWalker.php
3232

33+
-
34+
rawMessage: '''
35+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
36+
This class will be removed in 3.0 without replacement.
37+
Copyright (c) Doctrine Project
38+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
39+
'''
40+
identifier: method.deprecatedClass
41+
count: 1
42+
path: tests/Classes/entity-manager.php
43+
44+
-
45+
rawMessage: '''
46+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
47+
This class will be removed in 3.0 without replacement.
48+
Copyright (c) Doctrine Project
49+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
50+
'''
51+
identifier: new.deprecatedClass
52+
count: 1
53+
path: tests/Classes/entity-manager.php
54+
55+
-
56+
rawMessage: '''
57+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
58+
This class will be removed in 3.0 without replacement.
59+
Copyright (c) Doctrine Project
60+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
61+
'''
62+
identifier: method.deprecatedClass
63+
count: 1
64+
path: tests/DoctrineIntegration/ORM/entity-manager.php
65+
66+
-
67+
rawMessage: '''
68+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
69+
This class will be removed in 3.0 without replacement.
70+
Copyright (c) Doctrine Project
71+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
72+
'''
73+
identifier: new.deprecatedClass
74+
count: 1
75+
path: tests/DoctrineIntegration/ORM/entity-manager.php
76+
77+
-
78+
rawMessage: '''
79+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
80+
This class will be removed in 3.0 without replacement.
81+
Copyright (c) Doctrine Project
82+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
83+
'''
84+
identifier: method.deprecatedClass
85+
count: 1
86+
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
87+
88+
-
89+
rawMessage: '''
90+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
91+
This class will be removed in 3.0 without replacement.
92+
Copyright (c) Doctrine Project
93+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
94+
'''
95+
identifier: new.deprecatedClass
96+
count: 1
97+
path: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
98+
99+
-
100+
rawMessage: '''
101+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
102+
This class will be removed in 3.0 without replacement.
103+
Copyright (c) Doctrine Project
104+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
105+
'''
106+
identifier: method.deprecatedClass
107+
count: 1
108+
path: tests/Rules/DeadCode/entity-manager.php
109+
110+
-
111+
rawMessage: '''
112+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
113+
This class will be removed in 3.0 without replacement.
114+
Copyright (c) Doctrine Project
115+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
116+
'''
117+
identifier: new.deprecatedClass
118+
count: 1
119+
path: tests/Rules/DeadCode/entity-manager.php
120+
121+
-
122+
rawMessage: 'Parameter #2 $type of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>|Doctrine\DBAL\Types\Type, string given.'
123+
identifier: argument.type
124+
count: 1
125+
path: tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php
126+
127+
-
128+
rawMessage: '''
129+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
130+
This class will be removed in 3.0 without replacement.
131+
Copyright (c) Doctrine Project
132+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
133+
'''
134+
identifier: method.deprecatedClass
135+
count: 1
136+
path: tests/Rules/Properties/entity-manager.php
137+
138+
-
139+
rawMessage: '''
140+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
141+
This class will be removed in 3.0 without replacement.
142+
Copyright (c) Doctrine Project
143+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
144+
'''
145+
identifier: new.deprecatedClass
146+
count: 1
147+
path: tests/Rules/Properties/entity-manager.php
148+
149+
-
150+
rawMessage: '''
151+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
152+
This class will be removed in 3.0 without replacement.
153+
Copyright (c) Doctrine Project
154+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
155+
'''
156+
identifier: method.deprecatedClass
157+
count: 1
158+
path: tests/Type/Doctrine/DBAL/mysqli.php
159+
160+
-
161+
rawMessage: '''
162+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
163+
This class will be removed in 3.0 without replacement.
164+
Copyright (c) Doctrine Project
165+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
166+
'''
167+
identifier: new.deprecatedClass
168+
count: 1
169+
path: tests/Type/Doctrine/DBAL/mysqli.php
170+
171+
-
172+
rawMessage: '''
173+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
174+
This class will be removed in 3.0 without replacement.
175+
Copyright (c) Doctrine Project
176+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
177+
'''
178+
identifier: method.deprecatedClass
179+
count: 1
180+
path: tests/Type/Doctrine/DBAL/pdo.php
181+
182+
-
183+
rawMessage: '''
184+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
185+
This class will be removed in 3.0 without replacement.
186+
Copyright (c) Doctrine Project
187+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
188+
'''
189+
identifier: new.deprecatedClass
190+
count: 1
191+
path: tests/Type/Doctrine/DBAL/pdo.php
192+
193+
-
194+
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailed().'
195+
identifier: staticMethod.notFound
196+
count: 2
197+
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php
198+
199+
-
200+
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailedInvalidType().'
201+
identifier: staticMethod.notFound
202+
count: 2
203+
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php
204+
205+
-
206+
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailed().'
207+
identifier: staticMethod.notFound
208+
count: 2
209+
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php
210+
211+
-
212+
rawMessage: 'Call to an undefined static method Doctrine\DBAL\Types\ConversionException::conversionFailedInvalidType().'
213+
identifier: staticMethod.notFound
214+
count: 2
215+
path: tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php
33216

217+
-
218+
rawMessage: '''
219+
Access to constant on deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
220+
This class will be removed in 3.0 without replacement.
221+
Copyright (c) Doctrine Project
222+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
223+
'''
224+
identifier: classConstant.deprecatedClass
225+
count: 1
226+
path: src/Doctrine/Mapping/ClassMetadataFactory.php
227+
228+
-
229+
rawMessage: '''
230+
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
231+
This class will be removed in 3.0 without replacement.
232+
Copyright (c) Doctrine Project
233+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
234+
'''
235+
identifier: method.deprecatedClass
236+
count: 1
237+
path: src/Doctrine/Mapping/ClassMetadataFactory.php
238+
239+
-
240+
rawMessage: '''
241+
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver:
242+
This class will be removed in 3.0 without replacement.
243+
Copyright (c) Doctrine Project
244+
From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
245+
'''
246+
identifier: new.deprecatedClass
247+
count: 1
248+
path: src/Doctrine/Mapping/ClassMetadataFactory.php

tests/Rules/Doctrine/ORM/FakeTestingRamseyUuidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getName(): string
5656
return self::NAME;
5757
}
5858

59-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
59+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
6060
{
6161
return true;
6262
}

tests/Rules/Doctrine/ORM/FakeTestingSymfonyUlidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
100100
}
101101
}
102102

103-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
103+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
104104
{
105105
return true;
106106
}

tests/Rules/Doctrine/ORM/FakeTestingSymfonyUuidType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
100100
}
101101
}
102102

103-
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
103+
public function requiresSQLCommentHint(AbstractPlatform $platform): bool // @phpstan-ignore return.tooWideBool
104104
{
105105
return true;
106106
}

0 commit comments

Comments
 (0)