Skip to content

[Bug]: Symfony integration broken by using method removed in Symfony 8.0 #3808

@TomBrouws

Description

@TomBrouws

Bug report

We've noticed that symfony.route.name was not present in traces anymore after upgrading from Symfony 7.4 to Symfony 8.0.

Digging deeper, it seems dd-trace-php is using Request::get() in multiple locations, but that method has been removed in Symfony 8.0.

Usages:

The current test suite doesn't catch this as it does not target Symfony 8.0.

PHP version

8.5.4

Tracer or profiler version

1.18.0

Installed extensions

No response

Output of phpinfo()

No response

Upgrading from

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions