Skip to content

Commit ce664c1

Browse files
authored
Add support for doctrine/dbal v4.0 (#811)
1 parent b42a9bb commit ce664c1

25 files changed

+1465
-311
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"symfony/security-http": "^4.4.20||^5.0.11||^6.0||^7.0"
4242
},
4343
"require-dev": {
44-
"doctrine/dbal": "^2.13||^3.3",
44+
"doctrine/dbal": "^2.13||^3.3||^4.0",
4545
"doctrine/doctrine-bundle": "^2.6",
4646
"friendsofphp/php-cs-fixer": "^2.19||^3.40",
4747
"masterminds/html5": "^2.8",

phpstan-baseline.neon

Lines changed: 18 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -176,74 +176,34 @@ parameters:
176176
path: src/Tracing/Doctrine/DBAL/ConnectionConfigurator.php
177177

178178
-
179-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:errorInfo\\(\\) return type has no value type specified in iterable type array\\.$#"
179+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionForV4\\:\\:errorInfo\\(\\) return type has no value type specified in iterable type array\\.$#"
180180
count: 1
181-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
181+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
182182

183183
-
184-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:exec\\(\\) has parameter \\$sql with no type specified\\.$#"
184+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionForV4\\:\\:exec\\(\\) should return int\\|numeric\\-string but returns int\\|string\\.$#"
185185
count: 1
186-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
186+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
187187

188188
-
189-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:prepare\\(\\) has parameter \\$sql with no type specified\\.$#"
189+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionForV4\\:\\:prepare\\(\\) has parameter \\$sql with no type specified\\.$#"
190190
count: 1
191-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
191+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
192192

193193
-
194-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#"
194+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionForV4\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#"
195195
count: 1
196-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
196+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
197197

198198
-
199199
message: "#^Parameter \\#1 \\$sql of method Doctrine\\\\DBAL\\\\Driver\\\\Connection\\:\\:query\\(\\) expects string, string\\|null given\\.$#"
200200
count: 1
201-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
201+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
202202

203203
-
204-
message: "#^Parameter \\#2 \\$spanDescription of method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:traceFunction\\(\\) expects string, string\\|null given\\.$#"
204+
message: "#^Parameter \\#2 \\$spanDescription of method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionForV4\\:\\:traceFunction\\(\\) expects string, string\\|null given\\.$#"
205205
count: 1
206-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
207-
208-
-
209-
message: "#^Property Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnection\\:\\:\\$spanTags is never read, only written\\.$#"
210-
count: 1
211-
path: src/Tracing/Doctrine/DBAL/TracingDriverConnection.php
212-
213-
-
214-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingServerInfoAwareDriverConnection\\:\\:errorInfo\\(\\) return type has no value type specified in iterable type array\\.$#"
215-
count: 1
216-
path: src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
217-
218-
-
219-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingServerInfoAwareDriverConnection\\:\\:exec\\(\\) has parameter \\$sql with no type specified\\.$#"
220-
count: 1
221-
path: src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
222-
223-
-
224-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingServerInfoAwareDriverConnection\\:\\:prepare\\(\\) has parameter \\$sql with no type specified\\.$#"
225-
count: 1
226-
path: src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
227-
228-
-
229-
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingServerInfoAwareDriverConnection\\:\\:query\\(\\) has parameter \\$args with no type specified\\.$#"
230-
count: 1
231-
path: src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
232-
233-
-
234-
message: "#^Parameter \\#1 \\$sql of method Doctrine\\\\DBAL\\\\Driver\\\\Connection\\:\\:query\\(\\) expects string, string\\|null given\\.$#"
235-
count: 1
236-
path: src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
237-
238-
-
239-
message: "#^Parameter \\#2 \\$callback of method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\AbstractTracingStatement\\:\\:traceFunction\\(\\) expects callable\\(mixed \\.\\.\\.\\)\\: Doctrine\\\\DBAL\\\\Driver\\\\Result, array\\{Doctrine\\\\DBAL\\\\Driver\\\\Statement, 'execute'\\} given\\.$#"
240-
count: 1
241-
path: src/Tracing/Doctrine/DBAL/TracingStatementForV3.php
242-
243-
-
244-
message: "#^Parameter \\#4 \\$length of method Doctrine\\\\DBAL\\\\Driver\\\\Statement\\:\\:bindParam\\(\\) expects int\\|null, mixed given\\.$#"
245-
count: 1
246-
path: src/Tracing/Doctrine/DBAL/TracingStatementForV3.php
206+
path: src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php
247207

248208
-
249209
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableHttpClient\\:\\:request\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
@@ -425,91 +385,26 @@ parameters:
425385
count: 1
426386
path: tests/Tracing/Cache/AbstractTraceableCacheAdapterTest.php
427387

388+
-
389+
message: "#^Property Sentry\\\\SentryBundle\\\\Tests\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionFactoryV4Test\\:\\:\\$databasePlatform is never read, only written\\.$#"
390+
count: 1
391+
path: tests/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryV4Test.php
392+
428393
-
429394
message: "#^Trying to mock an undefined method errorCode\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Connection\\.$#"
430395
count: 1
431-
path: tests/Tracing/Doctrine/DBAL/TracingDriverConnectionTest.php
396+
path: tests/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4Test.php
432397

433398
-
434399
message: "#^Trying to mock an undefined method errorInfo\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Connection\\.$#"
435400
count: 1
436-
path: tests/Tracing/Doctrine/DBAL/TracingDriverConnectionTest.php
401+
path: tests/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4Test.php
437402

438403
-
439404
message: "#^Parameter \\#1 \\$hubOrConnectionFactory of class Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverMiddleware constructor expects Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionFactoryInterface\\|Sentry\\\\State\\\\HubInterface, null given\\.$#"
440405
count: 1
441406
path: tests/Tracing/Doctrine/DBAL/TracingDriverMiddlewareTest.php
442407

443-
-
444-
message: "#^Trying to mock an undefined method errorCode\\(\\) on class Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionInterface\\.$#"
445-
count: 1
446-
path: tests/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnectionTest.php
447-
448-
-
449-
message: "#^Trying to mock an undefined method errorInfo\\(\\) on class Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriverConnectionInterface\\.$#"
450-
count: 1
451-
path: tests/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnectionTest.php
452-
453-
-
454-
message: "#^Trying to mock an undefined method requiresQueryForServerVersion\\(\\) on class Sentry\\\\SentryBundle\\\\Tests\\\\Tracing\\\\Doctrine\\\\DBAL\\\\Fixture\\\\ServerInfoAwareConnectionStub\\.$#"
455-
count: 1
456-
path: tests/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnectionTest.php
457-
458-
-
459-
message: "#^Parameter \\#2 \\$decoratedStatement of class Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingStatementForV2 constructor expects Doctrine\\\\DBAL\\\\Driver\\\\Statement, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject&Sentry\\\\SentryBundle\\\\Tests\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingStatementForV2Stub given\\.$#"
460-
count: 1
461-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
462-
463-
-
464-
message: "#^Parameter \\#4 \\$length of method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingStatementForV2\\:\\:bindParam\\(\\) expects int\\|null, mixed given\\.$#"
465-
count: 1
466-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
467-
468-
-
469-
message: "#^Trying to mock an undefined method closeCursor\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
470-
count: 1
471-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
472-
473-
-
474-
message: "#^Trying to mock an undefined method columnCount\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
475-
count: 1
476-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
477-
478-
-
479-
message: "#^Trying to mock an undefined method errorCode\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
480-
count: 1
481-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
482-
483-
-
484-
message: "#^Trying to mock an undefined method errorInfo\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
485-
count: 1
486-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
487-
488-
-
489-
message: "#^Trying to mock an undefined method fetch\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
490-
count: 1
491-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
492-
493-
-
494-
message: "#^Trying to mock an undefined method fetchAll\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
495-
count: 1
496-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
497-
498-
-
499-
message: "#^Trying to mock an undefined method fetchColumn\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
500-
count: 1
501-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
502-
503-
-
504-
message: "#^Trying to mock an undefined method rowCount\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
505-
count: 1
506-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
507-
508-
-
509-
message: "#^Trying to mock an undefined method setFetchMode\\(\\) on class Doctrine\\\\DBAL\\\\Driver\\\\Statement\\.$#"
510-
count: 1
511-
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
512-
513408
-
514409
message: "#^Parameter \\#1 \\$responses of method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableHttpClient\\:\\:stream\\(\\) expects iterable\\<\\(int\\|string\\), Symfony\\\\Contracts\\\\HttpClient\\\\ResponseInterface\\>\\|Symfony\\\\Contracts\\\\HttpClient\\\\ResponseInterface, stdClass given\\.$#"
515410
count: 1

phpstan.neon

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,26 @@ parameters:
1212
- src/aliases.php
1313
- src/Tracing/Cache/TraceableCacheAdapterForV2.php
1414
- src/Tracing/Cache/TraceableTagAwareCacheAdapterForV2.php
15-
- src/Tracing/Doctrine/DBAL/TracingStatementForV2.php
15+
- src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryForV2V3.php
16+
- src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV2V3.php
1617
- src/Tracing/Doctrine/DBAL/TracingDriverForV2.php
18+
- src/Tracing/Doctrine/DBAL/TracingDriverForV3.php
19+
- src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php
20+
- src/Tracing/Doctrine/DBAL/TracingStatementForV2.php
21+
- src/Tracing/Doctrine/DBAL/TracingStatementForV3.php
1722
- src/Tracing/HttpClient/TraceableHttpClientForV4.php
1823
- src/Tracing/HttpClient/TraceableHttpClientForV5.php
1924
- src/Tracing/HttpClient/TraceableResponseForV4.php
2025
- src/Tracing/HttpClient/TraceableResponseForV5.php
2126
- tests/End2End/App
27+
- tests/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryV2Test.php
28+
- tests/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryV3Test.php
29+
- tests/Tracing/Doctrine/DBAL/TracingDriverConnectionForV2V3Test.php
2230
- tests/Tracing/Doctrine/DBAL/TracingDriverForV2Test.php
31+
- tests/Tracing/Doctrine/DBAL/TracingDriverForV3Test.php
32+
- tests/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnectionTest.php
33+
- tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
34+
- tests/Tracing/Doctrine/DBAL/TracingStatementForV3Test.php
2335
- tests/EventListener/Fixtures/UserWithoutIdentifierStub.php
2436
dynamicConstantNames:
2537
- Symfony\Component\HttpKernel\Kernel::VERSION

psalm-baseline.xml

Lines changed: 33 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,60 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="4.22.0@fc2c6ab4d5fa5d644d8617089f012f3bb84b8703">
2+
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
33
<file src="src/DependencyInjection/SentryExtension.php">
4-
<UndefinedClass occurrences="1">
5-
<code>FatalErrorException</code>
4+
<UndefinedClass>
5+
<code><![CDATA[FatalErrorException]]></code>
66
</UndefinedClass>
77
</file>
88
<file src="src/EventListener/ConsoleCommandListener.php">
9-
<InvalidExtendClass occurrences="1">
10-
<code>ConsoleListener</code>
9+
<InvalidExtendClass>
10+
<code><![CDATA[ConsoleListener]]></code>
1111
</InvalidExtendClass>
12-
<MethodSignatureMismatch occurrences="1">
13-
<code>public function __construct(HubInterface $hub, bool $captureErrors = true)</code>
12+
<MethodSignatureMismatch>
13+
<code><![CDATA[public function __construct(HubInterface $hub, bool $captureErrors = true)]]></code>
1414
</MethodSignatureMismatch>
1515
</file>
16-
<file src="src/EventListener/ErrorListener.php">
17-
<RedundantCondition occurrences="1">
18-
<code>$event instanceof ExceptionEvent</code>
19-
</RedundantCondition>
20-
<UndefinedMethod occurrences="1">
21-
<code>getException</code>
22-
</UndefinedMethod>
23-
</file>
2416
<file src="src/EventListener/KernelEventForwardCompatibilityTrait.php">
25-
<UndefinedMethod occurrences="1">
26-
<code>isMasterRequest</code>
17+
<UndefinedMethod>
18+
<code><![CDATA[isMasterRequest]]></code>
2719
</UndefinedMethod>
2820
</file>
2921
<file src="src/Tracing/Cache/TraceableCacheAdapterTrait.php">
30-
<LessSpecificImplementedReturnType occurrences="1">
31-
<code>iterable</code>
22+
<LessSpecificImplementedReturnType>
23+
<code><![CDATA[iterable]]></code>
3224
</LessSpecificImplementedReturnType>
3325
</file>
3426
<file src="src/Tracing/Doctrine/DBAL/Compatibility/MiddlewareInterface.php">
35-
<UnrecognizedStatement occurrences="1"/>
36-
</file>
37-
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV2.php">
38-
<UndefinedClass occurrences="1">
39-
<code>ExceptionConverterDriver</code>
40-
</UndefinedClass>
41-
</file>
42-
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV3.php">
43-
<InvalidReturnStatement occurrences="1">
44-
<code>$this-&gt;decoratedDriver-&gt;getSchemaManager($conn, $platform)</code>
45-
</InvalidReturnStatement>
46-
<InvalidReturnType occurrences="1">
47-
<code>AbstractSchemaManager&lt;T&gt;</code>
48-
</InvalidReturnType>
49-
<MoreSpecificImplementedParamType occurrences="1">
50-
<code>$params</code>
27+
<UnrecognizedStatement>
28+
<code><![CDATA[interface MiddlewareInterface extends DoctrineMiddlewareInterface
29+
{
30+
}]]></code>
31+
</UnrecognizedStatement>
32+
</file>
33+
<file src="src/Tracing/Doctrine/DBAL/TracingDriverForV4.php">
34+
<MoreSpecificImplementedParamType>
35+
<code><![CDATA[$params]]></code>
5136
</MoreSpecificImplementedParamType>
37+
<TooManyArguments>
38+
<code><![CDATA[new StaticServerVersionProvider($connection->getServerVersion())]]></code>
39+
<code><![CDATA[parent::__construct($decoratedDriver)]]></code>
40+
</TooManyArguments>
41+
<UndefinedClass>
42+
<code><![CDATA[$this->getDatabasePlatform($versionProvider)]]></code>
43+
</UndefinedClass>
5244
</file>
5345
<file src="src/Tracing/HttpClient/TraceableResponseForV5.php">
54-
<UndefinedInterfaceMethod occurrences="1">
55-
<code>toStream</code>
46+
<UndefinedInterfaceMethod>
47+
<code><![CDATA[toStream]]></code>
5648
</UndefinedInterfaceMethod>
5749
</file>
5850
<file src="src/Tracing/HttpClient/TraceableResponseForV6.php">
59-
<UndefinedInterfaceMethod occurrences="1">
60-
<code>toStream</code>
51+
<UndefinedInterfaceMethod>
52+
<code><![CDATA[toStream]]></code>
6153
</UndefinedInterfaceMethod>
6254
</file>
6355
<file src="src/aliases.php">
64-
<MissingDependency occurrences="1">
65-
<code>TracingDriverForV2</code>
56+
<MissingDependency>
57+
<code><![CDATA[TracingDriverForV2]]></code>
6658
</MissingDependency>
67-
<UndefinedClass occurrences="6">
68-
<code>FilterControllerEvent</code>
69-
<code>FilterResponseEvent</code>
70-
<code>GetResponseEvent</code>
71-
<code>GetResponseEvent</code>
72-
<code>GetResponseForExceptionEvent</code>
73-
<code>PostResponseEvent</code>
74-
</UndefinedClass>
75-
</file>
76-
<file src="src/DependencyInjection/Compiler/CacheTracingPass.php">
77-
<UndefinedDocblockClass occurrences="1">
78-
<code>$container-&gt;getParameter('sentry.tracing.cache.enabled')</code>
79-
</UndefinedDocblockClass>
80-
</file>
81-
<file src="src/DependencyInjection/Compiler/HttpClientTracingPass.php">
82-
<UndefinedDocblockClass occurrences="2">
83-
<code>$container-&gt;getParameter('sentry.tracing.enabled')</code>
84-
<code>$container-&gt;getParameter('sentry.tracing.http_client.enabled')</code>
85-
</UndefinedDocblockClass>
86-
</file>
87-
<file src="src/DependencyInjection/Compiler/DbalTracingPass.php">
88-
<UndefinedDocblockClass occurrences="4">
89-
<code>$container-&gt;getParameter('sentry.tracing.enabled')</code>
90-
<code>$container-&gt;getParameter('sentry.tracing.dbal.enabled')</code>
91-
<code>$container-&gt;getParameter('sentry.tracing.dbal.connections')</code>
92-
<code>$container-&gt;getParameter('doctrine.connections')</code>
93-
</UndefinedDocblockClass>
9459
</file>
9560
</files>

psalm.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
<projectFiles>
1111
<directory name="src" />
1212
<ignoreFiles>
13+
<file name="src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryForV2V3.php" />
14+
<file name="src/Tracing/Doctrine/DBAL/TracingServerInfoAwareDriverConnection.php" />
15+
<file name="src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV2V3.php" />
16+
<file name="src/Tracing/Doctrine/DBAL/TracingDriverForV2.php" />
17+
<file name="src/Tracing/Doctrine/DBAL/TracingDriverForV3.php" />
1318
<file name="src/Tracing/Doctrine/DBAL/TracingStatementForV2.php" />
19+
<file name="src/Tracing/Doctrine/DBAL/TracingStatementForV3.php" />
1420
<file name="src/Tracing/HttpClient/TraceableHttpClientForV4.php" />
1521
<file name="src/Tracing/HttpClient/TraceableHttpClientForV5.php" />
1622
<directory name="vendor" />

src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactory.php renamed to src/Tracing/Doctrine/DBAL/TracingDriverConnectionFactoryForV2V3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @internal
2020
*/
21-
final class TracingDriverConnectionFactory implements TracingDriverConnectionFactoryInterface
21+
final class TracingDriverConnectionFactoryForV2V3 implements TracingDriverConnectionFactoryInterface
2222
{
2323
/**
2424
* @var HubInterface The current hub

0 commit comments

Comments
 (0)