Skip to content

Conversation

@ip512
Copy link
Contributor

@ip512 ip512 commented Dec 6, 2025

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
relevant documentation
License MIT

What's in this PR?

Use php config files from web-profiler-bundle instead of deprecated XML ones

Why?

When running tests locally, I get the following error :

Cannot load resource "@WebProfilerBundle/Resources/config/routing/wdt.xml". Make sure the "WebProfilerBundle" bundle is correctly registered and loaded in the application kernel class. If the bundle is registered, make sure the bundle path "@WebProfilerBundle/Resources/config/routing/wdt.xml" is not empty.

Although XML files exist, they can't be loaded in version 7.4 of the bundle

@ip512 ip512 force-pushed the fix-web-profiler-bundle-routing-conf-in-tests branch from 468f417 to 37c99b7 Compare December 6, 2025 09:28
@dbu dbu mentioned this pull request Dec 8, 2025
Copy link
Collaborator

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this happens because we end up with a mix of symfony 7 and 8 components because we don't always specify the symfony version for flex in the ci

as we want to support symfony 8 anyways, this is a welcome fix, thanks!

@dbu dbu merged commit b2aeee3 into php-http:2.x Dec 8, 2025
13 checks passed
dbu added a commit that referenced this pull request Dec 8, 2025
…nf-in-tests

fix: update routing configuration to use PHP files for WebProfilerBundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants