-
-
Notifications
You must be signed in to change notification settings - Fork 839
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
feat: symfony 7 support #2164
feat: symfony 7 support #2164
Conversation
Tests are failing with this error, i am not sure why
|
- makes doctrine/annotations optional - updates tests and ci to test with both symfony 7 and < symfony 7 version - adds routes-attributes.yaml file for symfony 7 compatible controllers/routes - skips tests/packages related to packages like jms serializer, bazinga, etc not supported by symfony 7 for symfony 7 matrix
- somehow rebase deletes it again :(
nvm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot :)
Tests/Functional/Entity/SymfonyConstraintsWithValidationGroups.php
Outdated
Show resolved
Hide resolved
I find it quite rude to use mine (and @DjordyKoert) our changes and commit them under your own name. Especially since at least my PR is waiting for review, and not because I abondended it (/not because didn't incorperate requested changes). Your could have just merged both branches / pull requests into your own branch so it would be clear that someone else wrote the code, and add your own changes on top of it. |
- addresses feedback from review (import OpenApi\Attribtues as OAT)
apologies, i did mention it in a comment that I missed that there was a PR #2151 (comment) Later I tried to fork your repositories so that I add my changes on top of it but since I had already made all the changes locally (including both making doctrine/annotations optional and adding sf 7 support), i found it hard to separate them and apply on top of your changes. If you wish, I can give you write permissions to this repository (actually you and @DjordyKoert both), so that you may re-add your commits or even ammend existing commits. It doesn't really matter to me whom the commits are attributed to, I want support for sf7 in this lib because we are using it and it is blocking our sf 7 upgrade and it seemed a good task for symfony hack day. Again apology for any miscommunications @RobertMe |
I personally have no issue with my 'changes'/commits being lost, since my PR contained the bare minimum (and didn't even work to begin with). I am just very happy @faizanakram99 was able to make it (almost? because CI is still failing) work for Symfony 7. 😄 |
I can also reproduce this locally. This is a very weird one since it's appending the response from |
@faizanakram99 I have created a PR on your fork repo with changes to make phpunit work for Symfony 7. https://github.com/faizanakram99/NelmioApiDocBundle/pull/1 Older versions are still failing but this should be a good starting point for fixing the others 😄 |
Thank you so much @DjordyKoert , I've merged your changes (with rebase) I think you also need to run cs-fix on changed files, style ci is complaining |
@faizanakram99 could you please run a style fix 😄, mine doesn't really fix anything for some reason |
Nevermind that, I simply applied the diff from styleci https://github.com/faizanakram99/NelmioApiDocBundle/pull/3 😃 @faizanakram99 a merge and styleci should be fixed |
@GuilhemN any possibility you can look at this? ❤️ |
@GuilhemN ping |
Thank you very much for the huge work! Happy new year, best wishes! |
Thank you very much @GuilhemN ! Happy new years & best wishes to you too ❤️ |
Fixes #2143 and #2147, supersedes #2151 and #2155
#SymfonyHackday