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
Improve the compatibility layer for Doctrine DBAL to avoid side-effects of polyfilling (#553)
* Improve the compatibility layer for Doctrine DBAL to avoid deprecations
* Update the CHANGELOG file
* Mark the `TracingDriver*` and `TracingStatement*` classes as `@internal`
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
-85
Original file line number
Diff line number
Diff line change
@@ -15,56 +15,6 @@ parameters:
15
15
count:1
16
16
path:src/EventListener/ErrorListener.php
17
17
18
-
-
19
-
message:"#^Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\|Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\Compatibility\\\\ExceptionConverterDriverInterface\\:\\:connect\\(\\)\\.$#"
20
-
count:1
21
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
22
-
23
-
-
24
-
message:"#^Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\|Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\Compatibility\\\\ExceptionConverterDriverInterface\\:\\:getDatabasePlatform\\(\\)\\.$#"
25
-
count:2
26
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
27
-
28
-
-
29
-
message:"#^Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\|Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\Compatibility\\\\ExceptionConverterDriverInterface\\:\\:getSchemaManager\\(\\)\\.$#"
30
-
count:1
31
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
32
-
33
-
-
34
-
message:"#^Call to an undefined method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\Compatibility\\\\ExceptionConverterDriverInterface\\:\\:convertException\\(\\)\\.$#"
35
-
count:1
36
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
37
-
38
-
-
39
-
message:"#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriver\\:\\:connect\\(\\) has parameter \\$driverOptions with no value type specified in iterable type array\\.$#"
40
-
count:1
41
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
42
-
43
-
-
44
-
message:"#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriver\\:\\:connect\\(\\) has parameter \\$password with no typehint specified\\.$#"
45
-
count:1
46
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
47
-
48
-
-
49
-
message:"#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriver\\:\\:connect\\(\\) has parameter \\$username with no typehint specified\\.$#"
50
-
count:1
51
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
52
-
53
-
-
54
-
message:"#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriver\\:\\:convertException\\(\\) has parameter \\$message with no typehint specified\\.$#"
55
-
count:1
56
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
57
-
58
-
-
59
-
message:"#^Parameter \\#2 \\$query of class Doctrine\\\\DBAL\\\\Exception\\\\DriverException constructor expects Doctrine\\\\DBAL\\\\Query\\|null, Doctrine\\\\DBAL\\\\Driver\\\\DriverException given\\.$#"
60
-
count:1
61
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
62
-
63
-
-
64
-
message:"#^Parameter \\$exception of method Sentry\\\\SentryBundle\\\\Tracing\\\\Doctrine\\\\DBAL\\\\TracingDriver\\:\\:convertException\\(\\) has invalid typehint type Doctrine\\\\DBAL\\\\Driver\\\\DriverException\\.$#"
65
-
count:1
66
-
path:src/Tracing/Doctrine/DBAL/TracingDriver.php
67
-
68
18
-
69
19
message:"#^Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\\\Connection\\:\\:errorCode\\(\\)\\.$#"
message:"#^Trying to mock an undefined method convertException\\(\\) on class Sentry\\\\SentryBundle\\\\Tests\\\\Tracing\\\\Doctrine\\\\DBAL\\\\StubExceptionConverterDriverInterface\\.$#"
0 commit comments