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

[SecurityBundle][Security][Translation] trigger some deprecations for legacy methods#25131

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
chalasr merged 1 commit intosymfony:masterfromxabbuh:deprecations
Nov 26, 2017

Conversation

@xabbuh
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

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

We also need to deprecate thelogout_on_user_change firewall config node


/**
* Disables dumper backup.
*/
Copy link
Member

Choose a reason for hiding this comment

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

@deprecated annotations are missing

Copy link
Member

Choose a reason for hiding this comment

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

fixed

publicfunctionsetLogoutOnUserChange($logoutOnUserChange)
{
// no-op, methodto bedeprecatedin 4.1
@trigger_error(sprintf('The %s() methodisdeprecatedsince 4.1 and will be removed in 5.0.',__METHOD__));
Copy link
Contributor

Choose a reason for hiding this comment

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

missingE_USER_DEPRECATED error level.

*/
publicfunctionsetBackup($backup)
{
@trigger_error(sprintf('The %s() method is deprecated since 4.1 and will be removed in 5.0.',__METHOD__));
Copy link
Contributor

Choose a reason for hiding this comment

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

missingE_USER_DEPRECATED error level.

publicfunctiondisableBackup()
{
// to be deprecated in 4.1
@trigger_error(sprintf('The %s() method is deprecated since 4.1 and will be removed in 5.0.',__METHOD__));
Copy link
Contributor

Choose a reason for hiding this comment

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

missingE_USER_DEPRECATED error level.

@xabbuhxabbuhforce-pushed thedeprecations branch 2 times, most recently from600c817 to3909cc4CompareNovember 23, 2017 11:10
@xabbuhxabbuh changed the title[Security][Translation] trigger some deprecations for legacy methods[SecurityBundle][Security][Translation] trigger some deprecations for legacy methodsNov 23, 2017
@xabbuhxabbuhforce-pushed thedeprecations branch 2 times, most recently fromf823881 to7b209e1CompareNovember 23, 2017 11:43
@xabbuh
Copy link
MemberAuthor

comments addressed, tests pass

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

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

👍

Security
--------

* the`ContextListener::setLogoutOnUserChange()` method is deprecated and will be removed in 5.0
Copy link
Member

Choose a reason for hiding this comment

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

Missing cap and dot (same below) and in other files.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

fixed


/**
* Disables dumper backup.
*/
Copy link
Member

Choose a reason for hiding this comment

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

fixed

@chalasr
Copy link
Member

Thank you@xabbuh.

@chalasrchalasr merged commite3396ea intosymfony:masterNov 26, 2017
chalasr pushed a commit that referenced this pull requestNov 26, 2017
…eprecations for legacy methods (xabbuh)This PR was merged into the 4.0-dev branch.Discussion----------[SecurityBundle][Security][Translation] trigger some deprecations for legacy methods| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Commits-------e3396ea trigger some deprecations for legacy methods
@xabbuhxabbuh deleted the deprecations branchNovember 26, 2017 13:25
@fabpotfabpot mentioned this pull requestMay 7, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@hhamonhhamonhhamon left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.1

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@chalasr@fabpot@hhamon@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp