Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] Remove Symfony 3 compatibility code#38894

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Nyholm merged 1 commit intosymfony:4.4fromderrabus:bugfix/lazy-session
Oct 30, 2020

Conversation

@derrabus
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#38892
LicenseMIT
Doc PRN/A

This PR removes dead code that checks for the presence of theRequest::setSessionFactory() method.

That method was added with#25836 in HttpFoundation 4.1. Since HttpKernel requires at least HttpFoundation 4.4, we can assume that the method is always present and thus simplify some code here.

Additionally, I also fix the doc block as described in#38892. 😉

Copy link
Member

@NyholmNyholm left a comment

Choose a reason for hiding this comment

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

👍

Thank you

@Nyholm
Copy link
Member

Could you please rebase to let the tests be green before merge?

derrabus reacted with thumbs up emoji

@Nyholm
Copy link
Member

Woop woop. Thank you very much!

@NyholmNyholm merged commit2d511de intosymfony:4.4Oct 30, 2020
@derrabusderrabus deleted the bugfix/lazy-session branchOctober 30, 2020 15:13
@fabpotfabpot mentioned this pull requestNov 10, 2020
This was referencedNov 29, 2020
nicolas-grekas added a commit that referenced this pull requestApr 11, 2021
…ctSessionListener::onKernelRequest (StefanoCappellini)This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead.Discussion----------Simplified condition and removed unused code from AbstractSessionListener::onKernelRequest| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | None| License       | MITThis PR simplifies a condition and removes unused code (AFAIK coming from#38894)).Commits-------d344b8d Simplified condition and removed unused code from AbstractSessionListener::onKernelRequest
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@NyholmNyholmNyholm approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@derrabus@Nyholm@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp