-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Move UriSigner from HttpKernel to HttpFoundation package #50392
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
Move UriSigner from HttpKernel to HttpFoundation package #50392
Conversation
Hey! Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.3 for features / 5.4 or 6.2 for bug fixes". Cheers! Carsonbot |
59f312d
to
93a5575
Compare
src/Symfony/Component/HttpKernel/Tests/EventListener/FragmentListenerTest.php
Show resolved
Hide resolved
@alexander-schranz Do you have time to finish this PR? |
6691053
to
a3296c8
Compare
If I see it correctly all failing tests are related to current 6.4 branch and not the pull request. So I hope I tackled all parts. |
2b93ab5
to
aa2e016
Compare
@wouterj thx for the review, I hope I didn't miss something but it should be all tackled. |
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, just a few things were missed. But other than that, this looks good to go from my side!
@alexander-schranz Do you have time to finish this PR? |
If not, please tell us and we (I) will force push the final tweaks to this PR so we can get it in 6.4/7.0 🙂 |
@wouterj currently on vacation feel free to force push. Else I can finish it also in two weeks after my vacation. |
6831063
to
2caaef8
Compare
Enjoy your holiday! This PR should be ready now. |
Thank you @alexander-schranz. |
…ysis (ausi) This PR was squashed before being merged into the 6.4 branch. Discussion ---------- Fix legacy class palceholder definitions for static analysis | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT In #50392 the `UriSigner` class was moved from HttpKernel to HttpFoundation. The empty definition `class UriSigner {}` causes many issues with static analysis tools like PHPStan. As this code is wrapped in an `if (false)` changing it to `class UriSigner extends HttpFoundationUriSigner` should not cause any behavior change while fixing most static analysis issues. Commits ------- 0f230fe Fix legacy class palceholder definitions for static analysis
Move UriSigner from HttpKernel to HttpFoundation package as discussed in #50384.