Skip to content

Allow Symfony 8 - #14

Closed
knallcharge wants to merge 5 commits into
prestaconcept:mainfrom
knallcharge:main
Closed

knallcharge wants to merge 5 commits into
prestaconcept:mainfrom
knallcharge:main

Conversation

@knallcharge

Copy link
Copy Markdown
Contributor

No description provided.

@knallcharge

knallcharge commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Further changes in the tests are necessary as Kernel.php contains some old doctrine-options that lead to errors in the automated tests:
Unrecognized option "auto_generate_proxy_classes" under "doctrine.orm.entity_managers.default".

Other than that I the library itself seems to be working fine with Symfony 8.

@knallcharge

knallcharge commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor Author

I have made changes to tests/Kernel.php but the tests for 8.4/6.4.* fail so you may consider moving the Symfony 8 changes to a different release if you want to keep the Symfony 6-support.

@yann-eugone yann-eugone changed the title allow Symfony 8 Allow Symfony 8 Jan 13, 2026
@yann-eugone

Copy link
Copy Markdown
Member

Hello and thank you @knallcharge

About the kernel, it's something we are having on every bundle we maintain right now
This option should be added around a PHP version condition in the tests
You can have a look on this PR https://github.com/prestaconcept/PrestaMailReceiverBundle/pull/7/files#diff-78e2fc2f8d5a200028050f0fd3c14c23db81669e7816ad567c98aaa7a1044371

But there is also a problem in the CI with the symfony 6.4 version
I think this is because the HttpKernel component is not required with the testing matrix version
You can add the component to every composer require in the file https://github.com/prestaconcept/PrestaSonataSavedFiltersBundle/blob/main/.github/workflows/tests.yml

Finally, if we add Symfony 8, we have to add it to the tests
So the testing matrix in https://github.com/prestaconcept/PrestaSonataSavedFiltersBundle/blob/main/.github/workflows/tests.yml should include a 8.0 symfony version

@yann-eugone
yann-eugone self-requested a review January 13, 2026 10:21
@knallcharge

Copy link
Copy Markdown
Contributor Author

I don't know anything about github worflows, so I can't really support here, sorry.

@yann-eugone yann-eugone mentioned this pull request Feb 6, 2026
@yann-eugone yann-eugone closed this Feb 6, 2026
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