Skip to content

Commit 8d969ce

Browse files
authored
Merge pull request #679 from getsentry/prepare-4.5
Prepare 4.5.0
2 parents d45365a + 787d357 commit 8d969ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1415
-467
lines changed

.craft.yml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ minVersion: 0.23.1
22
changelogPolicy: simple
33
artifactProvider:
44
name: none
5-
preReleaseCommand: ''
65
targets:
76
- name: github
87
- name: registry

.github/workflows/tests.yaml

+5-13
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- '8.0'
2525
- '8.1'
2626
symfony-version:
27-
- 3.4.*
2827
- 4.4.*
2928
- 5.*
3029
- 6.*
@@ -37,14 +36,7 @@ jobs:
3736
symfony-version: 6.*
3837
- php: '7.4'
3938
symfony-version: 6.*
40-
- php: '8.0'
41-
symfony-version: 3.4.*
42-
- php: '8.1'
43-
symfony-version: 3.4.*
4439
include:
45-
- php: '7.2'
46-
symfony-version: 3.4.*
47-
dependencies: lowest
4840
- php: '7.2'
4941
symfony-version: 4.4.*
5042
dependencies: lowest
@@ -71,9 +63,9 @@ jobs:
7163
- name: Setup Problem Matchers for PHPUnit
7264
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
7365

74-
- name: Remove Symfony Messenger
75-
run: composer remove --dev symfony/messenger --no-update
76-
if: matrix.symfony-version == '3.4.*'
66+
- name: Update PHPUnit
67+
run: composer require --dev phpunit/phpunit ^9.3.9 --no-update
68+
if: matrix.php == '8.0' && matrix.dependencies == 'lowest'
7769

7870
- name: Install dependencies
7971
uses: ramsey/composer-install@v1
@@ -100,7 +92,7 @@ jobs:
10092
include:
10193
- php: '7.2'
10294
dependencies: lowest
103-
symfony-version: 3.4.*
95+
symfony-version: 4.4.*
10496
- php: '7.4'
10597
dependencies: highest
10698
- php: '8.0'
@@ -124,7 +116,7 @@ jobs:
124116
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
125117

126118
- name: Remove optional packages
127-
run: composer remove doctrine/dbal doctrine/doctrine-bundle symfony/messenger symfony/twig-bundle symfony/cache --dev --no-update
119+
run: composer remove doctrine/dbal doctrine/doctrine-bundle symfony/messenger symfony/twig-bundle symfony/cache symfony/http-client --dev --no-update
128120

129121
- name: Install dependencies
130122
uses: ramsey/composer-install@v1

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## Unreleased
44

5+
## 4.5.0 (2022-11-28)
6+
7+
- Symfony version 3.4 is no longer supported
8+
- Drop Symfony support below 4.4 (#643)
9+
- feat: Add support for tracing of Symfony HTTP client requests (#606)
10+
- feat: Add support for HTTP client baggage propagation (#663)
11+
- ref: Add proper HTTP client span descriptions (#680)
12+
- feat: Support logging the impersonator user, if any (#647)
13+
- ref: Use a constant for the SDK version (#662)
14+
515
## 4.4.0 (2022-10-20)
616

717
- feat: Add support for Dynamic Sampling (#665)
@@ -12,7 +22,7 @@
1222

1323
## 4.3.0 (2022-05-30)
1424

15-
- Fix compatibility issue with Symfony >= 6.1.0 (#635)
25+
- Fix compatibility issue with Symfony `>= 6.1.0` (#635)
1626
- Add `TracingDriverConnectionInterface::getNativeConnection()` method to get the original driver connection (#597)
1727
- Add `options.http_timeout` and `options.http_connect_timeout` configuration options (#593)
1828

composer.json

+14-13
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
"php-http/discovery": "^1.11",
2929
"sentry/sdk": "^3.3",
3030
"symfony/cache-contracts": "^1.1||^2.4||^3.0",
31-
"symfony/config": "^3.4.44||^4.4.20||^5.0.11||^6.0",
32-
"symfony/console": "^3.4.44||^4.4.20||^5.0.11||^6.0",
33-
"symfony/dependency-injection": "^3.4.44||^4.4.20||^5.0.11||^6.0",
34-
"symfony/event-dispatcher": "^3.4.44||^4.4.20||^5.0.11||^6.0",
35-
"symfony/http-kernel": "^3.4.44||^4.4.20||^5.0.11||^6.0",
31+
"symfony/config": "^4.4.20||^5.0.11||^6.0",
32+
"symfony/console": "^4.4.20||^5.0.11||^6.0",
33+
"symfony/dependency-injection": "^4.4.20||^5.0.11||^6.0",
34+
"symfony/event-dispatcher": "^4.4.20||^5.0.11||^6.0",
35+
"symfony/http-kernel": "^4.4.20||^5.0.11||^6.0",
3636
"symfony/polyfill-php80": "^1.22",
3737
"symfony/psr-http-message-bridge": "^1.2||^2.0",
38-
"symfony/security-core": "^3.4.44||^4.4.20||^5.0.11||^6.0"
38+
"symfony/security-core": "^4.4.20||^5.0.11||^6.0"
3939
},
4040
"require-dev": {
4141
"doctrine/dbal": "^2.13||^3.0",
@@ -50,16 +50,17 @@
5050
"phpstan/phpstan-phpunit": "^1.0",
5151
"phpstan/phpstan-symfony": "^1.0",
5252
"phpunit/phpunit": "^8.5.14||^9.3.9",
53-
"symfony/browser-kit": "^3.4.44||^4.4.20||^5.0.11||^6.0",
54-
"symfony/cache": "^3.4.44||^4.4.20||^5.0.11||^6.0",
55-
"symfony/dom-crawler": "^3.4.44||^4.4.20||^5.0.11||^6.0",
56-
"symfony/framework-bundle": "^3.4.44||^4.4.20||^5.0.11||^6.0",
53+
"symfony/browser-kit": "^4.4.20||^5.0.11||^6.0",
54+
"symfony/cache": "^4.4.20||^5.0.11||^6.0",
55+
"symfony/dom-crawler": "^4.4.20||^5.0.11||^6.0",
56+
"symfony/framework-bundle": "^4.4.20||^5.0.11||^6.0",
57+
"symfony/http-client": "^4.4.20||^5.0.11||^6.0",
5758
"symfony/messenger": "^4.4.20||^5.0.11||^6.0",
5859
"symfony/monolog-bundle": "^3.4",
5960
"symfony/phpunit-bridge": "^5.2.6||^6.0",
60-
"symfony/process": "^3.4.44||^4.4.20||^5.0.11||^6.0",
61-
"symfony/twig-bundle": "^3.4.44||^4.4.20||^5.0.11||^6.0",
62-
"symfony/yaml": "^3.4.44||^4.4.20||^5.0.11||^6.0",
61+
"symfony/process": "^4.4.20||^5.0.11||^6.0",
62+
"symfony/twig-bundle": "^4.4.20||^5.0.11||^6.0",
63+
"symfony/yaml": "^4.4.20||^5.0.11||^6.0",
6364
"vimeo/psalm": "^4.3"
6465
},
6566
"suggest": {

phpstan-baseline.neon

+44-85
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ parameters:
105105
count: 1
106106
path: src/DependencyInjection/SentryExtension.php
107107

108+
-
109+
message: "#^Parameter \\#2 \\$config of method Sentry\\\\SentryBundle\\\\DependencyInjection\\\\SentryExtension\\:\\:registerHttpClientTracingConfiguration\\(\\) expects array\\<string, mixed\\>, mixed given\\.$#"
110+
count: 1
111+
path: src/DependencyInjection/SentryExtension.php
112+
108113
-
109114
message: "#^Parameter \\#2 \\$config of method Sentry\\\\SentryBundle\\\\DependencyInjection\\\\SentryExtension\\:\\:registerMessengerListenerConfiguration\\(\\) expects array\\<string, mixed\\>, mixed given\\.$#"
110115
count: 1
@@ -122,7 +127,7 @@ parameters:
122127

123128
-
124129
message: "#^Parameter \\#2 \\$config of method Symfony\\\\Component\\\\DependencyInjection\\\\Extension\\\\Extension\\:\\:isConfigEnabled\\(\\) expects array, mixed given\\.$#"
125-
count: 3
130+
count: 4
126131
path: src/DependencyInjection/SentryExtension.php
127132

128133
-
@@ -150,26 +155,11 @@ parameters:
150155
count: 1
151156
path: src/EventListener/ConsoleCommandListener.php
152157

153-
-
154-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
155-
count: 1
156-
path: src/EventListener/ErrorListener.php
157-
158158
-
159159
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\KernelEvent\\:\\:isMasterRequest\\(\\)\\.$#"
160160
count: 1
161161
path: src/EventListener/RequestListener.php
162162

163-
-
164-
message: "#^Cannot call method getUser\\(\\) on Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface\\|null\\.$#"
165-
count: 1
166-
path: src/EventListener/RequestListener.php
167-
168-
-
169-
message: "#^Parameter \\#1 \\$user of method Sentry\\\\SentryBundle\\\\EventListener\\\\RequestListener\\:\\:getUsername\\(\\) expects object\\|string, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
170-
count: 1
171-
path: src/EventListener/RequestListener.php
172-
173163
-
174164
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\KernelEvent\\:\\:isMasterRequest\\(\\)\\.$#"
175165
count: 1
@@ -240,6 +230,31 @@ parameters:
240230
count: 1
241231
path: src/Tracing/Doctrine/DBAL/TracingStatementForV3.php
242232

233+
-
234+
message: "#^Parameter \\#4 \\$length of method Doctrine\\\\DBAL\\\\Driver\\\\Statement\\:\\:bindParam\\(\\) expects int\\|null, mixed given\\.$#"
235+
count: 1
236+
path: src/Tracing/Doctrine/DBAL/TracingStatementForV3.php
237+
238+
-
239+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableHttpClient\\:\\:request\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
240+
count: 1
241+
path: src/Tracing/HttpClient/AbstractTraceableHttpClient.php
242+
243+
-
244+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableResponse\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
245+
count: 1
246+
path: src/Tracing/HttpClient/AbstractTraceableResponse.php
247+
248+
-
249+
message: "#^Method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\TraceableHttpClientForV6\\:\\:withOptions\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
250+
count: 1
251+
path: src/Tracing/HttpClient/TraceableHttpClientForV6.php
252+
253+
-
254+
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\HttpClient\\\\ResponseInterface\\:\\:toStream\\(\\)\\.$#"
255+
count: 1
256+
path: src/Tracing/HttpClient/TraceableResponseForV6.php
257+
243258
-
244259
message: "#^Cannot access offset 'sample_rate' on mixed\\.$#"
245260
count: 1
@@ -280,73 +295,28 @@ parameters:
280295
count: 1
281296
path: tests/End2End/TracingEnd2EndTest.php
282297

283-
-
284-
message: "#^Call to method getException\\(\\) on an unknown class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\\.$#"
285-
count: 1
286-
path: tests/EventListener/ErrorListenerTest.php
287-
288-
-
289-
message: "#^Instantiated class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent not found\\.$#"
290-
count: 1
291-
path: tests/EventListener/ErrorListenerTest.php
292-
293-
-
294-
message: "#^Parameter \\#1 \\$event of method Sentry\\\\SentryBundle\\\\EventListener\\\\ErrorListener\\:\\:handleExceptionEvent\\(\\) expects Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\ExceptionEvent, Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\ExceptionEvent\\|Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent given\\.$#"
295-
count: 1
296-
path: tests/EventListener/ErrorListenerTest.php
297-
298-
-
299-
message: "#^Parameter \\$event of method Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\ErrorListenerTest\\:\\:testHandleExceptionEvent\\(\\) has invalid type Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseForExceptionEvent\\.$#"
300-
count: 1
301-
path: tests/EventListener/ErrorListenerTest.php
302-
303-
-
304-
message: "#^Class Symfony\\\\Component\\\\Messenger\\\\Event\\\\WorkerMessageFailedEvent constructor invoked with 4 parameters, 3 required\\.$#"
305-
count: 1
306-
path: tests/EventListener/MessengerListenerTest.php
307-
308-
-
309-
message: "#^If condition is always false\\.$#"
310-
count: 1
311-
path: tests/EventListener/MessengerListenerTest.php
312-
313298
-
314299
message: "#^Call to function method_exists\\(\\) with \\$this\\(Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\AuthenticatedTokenStub\\) and 'setAuthenticated' will always evaluate to false\\.$#"
315300
count: 1
316301
path: tests/EventListener/RequestListenerTest.php
317302

318303
-
319-
message: "#^Instantiated class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterControllerEvent not found\\.$#"
320-
count: 3
321-
path: tests/EventListener/RequestListenerTest.php
322-
323-
-
324-
message: "#^Instantiated class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent not found\\.$#"
325-
count: 9
326-
path: tests/EventListener/RequestListenerTest.php
327-
328-
-
329-
message: "#^Parameter \\#1 \\$event of method Sentry\\\\SentryBundle\\\\EventListener\\\\RequestListener\\:\\:handleKernelControllerEvent\\(\\) expects Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\ControllerEvent, Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\ControllerEvent\\|Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterControllerEvent given\\.$#"
330-
count: 1
331-
path: tests/EventListener/RequestListenerTest.php
332-
333-
-
334-
message: "#^Parameter \\#1 \\$event of method Sentry\\\\SentryBundle\\\\EventListener\\\\RequestListener\\:\\:handleKernelRequestEvent\\(\\) expects Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\RequestEvent, Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\\|Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\RequestEvent given\\.$#"
304+
message: "#^Parameter \\#1 \\$user of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\AbstractToken\\:\\:setUser\\(\\) expects Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface, string\\|Stringable\\|Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface given\\.$#"
335305
count: 1
336306
path: tests/EventListener/RequestListenerTest.php
337307

338308
-
339-
message: "#^Parameter \\#1 \\$user of method Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\AbstractToken\\:\\:setUser\\(\\) expects Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface, string\\|Stringable\\|Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface given\\.$#"
309+
message: "#^Parameter \\#3 \\$roles of class Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\SwitchUserToken constructor expects array\\<string\\>, string given\\.$#"
340310
count: 1
341311
path: tests/EventListener/RequestListenerTest.php
342312

343313
-
344-
message: "#^Parameter \\$controllerEvent of method Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\RequestListenerTest\\:\\:testHandleKernelControllerEvent\\(\\) has invalid type Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterControllerEvent\\.$#"
314+
message: "#^Parameter \\#4 \\$originalToken of class Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\SwitchUserToken constructor expects Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface, array\\<int, string\\> given\\.$#"
345315
count: 1
346316
path: tests/EventListener/RequestListenerTest.php
347317

348318
-
349-
message: "#^Parameter \\$requestEvent of method Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\RequestListenerTest\\:\\:testHandleKernelRequestEvent\\(\\) has invalid type Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\\.$#"
319+
message: "#^Parameter \\#5 \\$originatedFromUri of class Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\SwitchUserToken constructor expects string\\|null, Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\AuthenticatedTokenStub given\\.$#"
350320
count: 1
351321
path: tests/EventListener/RequestListenerTest.php
352322

@@ -355,26 +325,6 @@ parameters:
355325
count: 1
356326
path: tests/EventListener/SubRequestListenerTest.php
357327

358-
-
359-
message: "#^Instantiated class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent not found\\.$#"
360-
count: 2
361-
path: tests/EventListener/SubRequestListenerTest.php
362-
363-
-
364-
message: "#^Parameter \\#1 \\$event of method Sentry\\\\SentryBundle\\\\EventListener\\\\SubRequestListener\\:\\:handleKernelRequestEvent\\(\\) expects Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\RequestEvent, Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\\|Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\RequestEvent given\\.$#"
365-
count: 1
366-
path: tests/EventListener/SubRequestListenerTest.php
367-
368-
-
369-
message: "#^Parameter \\#1 \\$event of method Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\SubRequestListenerTest\\:\\:isMainRequest\\(\\) expects Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\KernelEvent, Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\\|Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\RequestEvent given\\.$#"
370-
count: 1
371-
path: tests/EventListener/SubRequestListenerTest.php
372-
373-
-
374-
message: "#^Parameter \\$event of method Sentry\\\\SentryBundle\\\\Tests\\\\EventListener\\\\SubRequestListenerTest\\:\\:testHandleKernelRequestEvent\\(\\) has invalid type Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\\.$#"
375-
count: 1
376-
path: tests/EventListener/SubRequestListenerTest.php
377-
378328
-
379329
message: "#^Call to an undefined method TCacheAdapter of Symfony\\\\Component\\\\Cache\\\\Adapter\\\\AdapterInterface\\:\\:delete\\(\\)\\.$#"
380330
count: 2
@@ -495,3 +445,12 @@ parameters:
495445
count: 1
496446
path: tests/Tracing/Doctrine/DBAL/TracingStatementForV2Test.php
497447

448+
-
449+
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\\.$#"
450+
count: 1
451+
path: tests/Tracing/HttpClient/TraceableHttpClientTest.php
452+
453+
-
454+
message: "#^Parameter \\#2 \\$responses of static method Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableResponse\\:\\:stream\\(\\) expects iterable\\<Sentry\\\\SentryBundle\\\\Tracing\\\\HttpClient\\\\AbstractTraceableResponse\\>, array\\<int, stdClass\\> given\\.$#"
455+
count: 1
456+
path: tests/Tracing/HttpClient/TraceableResponseTest.php

phpstan.neon

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ parameters:
1414
- src/Tracing/Cache/TraceableTagAwareCacheAdapterForV2.php
1515
- src/Tracing/Doctrine/DBAL/TracingStatementForV2.php
1616
- src/Tracing/Doctrine/DBAL/TracingDriverForV2.php
17+
- src/Tracing/HttpClient/TraceableHttpClientForV4.php
18+
- src/Tracing/HttpClient/TraceableHttpClientForV5.php
19+
- src/Tracing/HttpClient/TraceableResponseForV4.php
20+
- src/Tracing/HttpClient/TraceableResponseForV5.php
1721
- tests/End2End/App
1822
- tests/Tracing/Doctrine/DBAL/TracingDriverForV2Test.php
1923
- tests/EventListener/Fixtures/UserWithoutIdentifierStub.php

psalm-baseline.xml

+29
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
<code>$params</code>
5151
</MoreSpecificImplementedParamType>
5252
</file>
53+
<file src="src/Tracing/HttpClient/TraceableResponseForV5.php">
54+
<UndefinedInterfaceMethod occurrences="1">
55+
<code>toStream</code>
56+
</UndefinedInterfaceMethod>
57+
</file>
58+
<file src="src/Tracing/HttpClient/TraceableResponseForV6.php">
59+
<UndefinedInterfaceMethod occurrences="1">
60+
<code>toStream</code>
61+
</UndefinedInterfaceMethod>
62+
</file>
5363
<file src="src/aliases.php">
5464
<MissingDependency occurrences="1">
5565
<code>TracingDriverForV2</code>
@@ -63,4 +73,23 @@
6373
<code>PostResponseEvent</code>
6474
</UndefinedClass>
6575
</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>
94+
</file>
6695
</files>

psalm.xml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<directory name="src" />
1212
<ignoreFiles>
1313
<file name="src/Tracing/Doctrine/DBAL/TracingStatementForV2.php" />
14+
<file name="src/Tracing/HttpClient/TraceableHttpClientForV4.php" />
15+
<file name="src/Tracing/HttpClient/TraceableHttpClientForV5.php" />
1416
<directory name="vendor" />
1517
</ignoreFiles>
1618
</projectFiles>

0 commit comments

Comments
 (0)