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

[HttpFoundation] Just skip PHP'ssession_set_save_handler, not the fullsetSaveHandler#24946

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

Conversation

@sroze
Copy link
Contributor

@srozesroze commentedNov 13, 2017
edited
Loading

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#24934,
LicenseMIT
Doc PRø

We've removed thesetSaveHandler call while all we needed was remove the call to PHP'ssession_set_save_handler function.

* @throws \InvalidArgumentException
*/
publicfunctionsetSaveHandler($saveHandler =null)
publicfunctionsetSaveHandler($saveHandler =null,bool$updatePhpHandler =true)
Copy link
Member

@chalasrchalasrNov 13, 2017
edited
Loading

Choose a reason for hiding this comment

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

adding a new argument to a public method is a BC break (breaks child classes), should usefunc_num_args()func_get_arg()

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Good point 🤦‍♂️

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@chalasr updated 👍

@srozesrozeforce-pushed thebug-24934-just-skip-php-set-session-handler branch 3 times, most recently from9d04017 toeeba04cCompareNovember 13, 2017 13:33
@srozesrozeforce-pushed thebug-24934-just-skip-php-set-session-handler branch fromeeba04c to5cada3aCompareNovember 13, 2017 13:33
@srozesroze changed the title[HttpFoundation][ Just skip PHP'ssession_set_save_handler, not the full `setSaveHand…[HttpFoundation] Just skip PHP'ssession_set_save_handler, not the fullsetSaveHandlerNov 13, 2017
@chalasrchalasr added this to the2.7 milestoneNov 13, 2017
nicolas-grekas added a commit that referenced this pull requestNov 13, 2017
…kas, sroze)This PR was merged into the 2.7 branch.Discussion----------[HttpFoundation] Fix session-related BC break| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#24941,#24934,#24947 and#24946| License       | MIT| Doc PR        | -Conservative fix.Commits-------38186aa [HttpFoundation] Add test3eaa188 [HttpFoundation] Fix session-related BC break
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr left review comments

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

4 participants

@sroze@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp