Skip to content

[FrameworkBundle] Fix activation strategy of traceable decorators #60489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #60481
License MIT

With this change, we're going to auto-enable traceable decorators in the test env, which should fix #60481
The added logic relies on the SymfonyRuntime component, which is the one exposing the currently running app under $GLOBALS['app']. If the global var is not found, we just fallback to auto-enabled mode.

@nicolas-grekas nicolas-grekas merged commit baad646 into symfony:7.3 May 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HttpClient] Bug on upcoming 7.3 for TraceableHttpClient profiling
2 participants