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

add missing changelog for deprecated strict attribute#21662

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

Conversation

@dbu
Copy link
Contributor

@dbudbu commentedFeb 18, 2017

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

since#21058, 3.3 triggers a deprecation when using the strict attribute. luckily wouter managed to find the reason and we figured out we can simply delete the attribute. having an upgrade file entry would make it easier to find the reason for the deprecation and be sure what to do. (assuming i understood the implications correctly)

@nicolas-grekas
Copy link
Member

nicolas-grekas commentedFeb 18, 2017
edited
Loading

should we also enhance/instead the deprecation message in the code?

@dbu
Copy link
ContributorAuthor

dbu commentedFeb 18, 2017

if the flag can actually just be removed, that would be developer friendly i think.

however, i just tried to fix this and with the head branch of symfony/symfony 2.8 i still get the "Scope Widening Injection detected". i understood that the latest symfony 2.8 was fixed to allow removing the parameter?

@nicolas-grekas
Copy link
Member

only master has the deprecation about the strict attribute - not sure why you talk about 2.8 :)

@dbu
Copy link
ContributorAuthor

dbu commentedFeb 19, 2017

i maintain bundles that support both 2.8 and 3.#21058 (comment) made me think we can just remove the attribute but that fails on 2.8 while working in 3:symfony-cmf/routing-bundle#390

Copy link
Member

@xabbuhxabbuh left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

@fabpot
Copy link
Member

Thank you@dbu.

@fabpotfabpot merged commit2c5f879 intosymfony:masterFeb 20, 2017
fabpot added a commit that referenced this pull requestFeb 20, 2017
This PR was merged into the 3.3-dev branch.Discussion----------add missing changelog for deprecated strict attribute| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -since#21058, 3.3 triggers a deprecation when using the strict attribute. luckily wouter managed to find the reason and we figured out we can simply delete the attribute. having an upgrade file entry would make it easier to find the reason for the deprecation and be sure what to do. (assuming i understood the implications correctly)Commits-------2c5f879 add missing changelog for deprecated strict attribute
@dbudbu deleted the service-strict-deprecated-changelog branchFebruary 21, 2017 08:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@dbu@nicolas-grekas@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp