Skip to content

Replace xml with php config#484

Merged
dbu merged 1 commit into
php-http:2.xfrom
Orest-Divintari:orest/replace-xml-with-php-config
Dec 9, 2025
Merged

Replace xml with php config#484
dbu merged 1 commit into
php-http:2.xfrom
Orest-Divintari:orest/replace-xml-with-php-config

Conversation

@Orest-Divintari

@Orest-Divintari Orest-Divintari commented Dec 8, 2025

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
Documentation
License MIT

What's in this PR?

It replaces xml config with php config.

Why?

Because Symfony 7.4 has deprecated xml config

Checklist

  • Replaced XML configuration with PHP configuration

@Orest-Divintari Orest-Divintari marked this pull request as draft December 8, 2025 22:59
@Orest-Divintari Orest-Divintari force-pushed the orest/replace-xml-with-php-config branch 2 times, most recently from 153c95d to dbab283 Compare December 8, 2025 23:11
Convert all service configuration files from deprecated XML format
to PHP format to eliminate Symfony deprecation warnings and
for Symfony 8.0 compatibility.
@Orest-Divintari Orest-Divintari force-pushed the orest/replace-xml-with-php-config branch from dbab283 to 8b1d3fe Compare December 8, 2025 23:17

@dbu dbu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks a lot, this looks good, and the tests agree.

why did you mark it as draft? are you trying it out in some real application?

@dbu dbu mentioned this pull request Dec 9, 2025
4 tasks
@Orest-Divintari

Copy link
Copy Markdown
Contributor Author

thanks a lot, this looks good, and the tests agree.

why did you mark it as draft? are you trying it out in some real application?

Thanks,

No, it was late at night and wanted to review it myself before I ask you to review it.

@Orest-Divintari Orest-Divintari marked this pull request as ready for review December 9, 2025 07:54
@Orest-Divintari Orest-Divintari requested a review from dbu December 9, 2025 08:53
@dbu dbu merged commit 8490a4c into php-http:2.x Dec 9, 2025
14 checks passed
@ruudk

ruudk commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

@dbu Thanks for the quick merge! Would you mind tagging it ? 🙏

@dbu

dbu commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator

i'd love to include sf 8 support in the release. but #483 fails with weird errors - if you have any inputs/ideas what could be the issue, i'd love inputs as i don't have any more ideas what it could be.

@ro0NL

ro0NL commented Dec 11, 2025

Copy link
Copy Markdown

I agree it be nice to have intermediate patch release, so we can proceed testing a deprecation-free sf 7.4 release

@dbu

dbu commented Dec 11, 2025

Copy link
Copy Markdown
Collaborator

fair enough - and i don't have time to dig into the issue with symfony 8 right now. so here you go: https://github.com/php-http/HttplugBundle/releases/tag/2.2.0

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.

4 participants