Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] Undefined array key "http_method" #49925

Closed
@cleptric

Description

@cleptric

Symfony version(s) affected

symfony/http-client v5.4.22 & v6.2.8

Description

Changes made in #49796 somehow made our https://github.com/getsentry/sentry-symfony CI break.
Looking at our test setup, I'm not sure what we're missing, but $this->info['http_method'] seems not to be set.

How to reproduce

https://github.com/getsentry/sentry-symfony/blob/master/tests/Tracing/HttpClient/TraceableResponseTest.php#L104-L113 is failing with symfony/http-client v5.4.22||v6.2.8.

See https://github.com/getsentry/sentry-symfony/actions/runs/4605841353/jobs/8138399269

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions