8000 add missing changelog for deprecated strict attribute by dbu · Pull Request #21662 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2017

Conversation

dbu
Copy link
Contributor
@dbu dbu commented Feb 18, 2017
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)

@nicolas-grekas
Copy link
Member
nicolas-grekas commented Feb 18, 2017

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

@dbu
Copy link
Contributor Author
dbu commented Feb 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
Contributor Author
dbu commented Feb 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
@xabbuh xabbuh 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-grekas nicolas-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
fabpot commented Feb 20, 2017

Thank you @dbu.

@fabpot fabpot merged commit 2c5f879 into symfony:master Feb 20, 2017
fabpot added a commit that referenced this pull request Feb 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
@dbu dbu deleted the service-strict-deprecated-changelog branch February 21, 2017 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0