Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] Clean unnecessary method_exists calls in descriptors #21325

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

Closed
wants to merge 1 commit into from
Closed

[FrameworkBundle] Clean unnecessary method_exists calls in descriptors #21325

wants to merge 1 commit into from

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented Jan 17, 2017

Q A
Branch? 2.8
Bug fix? no, only cleanup right now
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT
Doc PR N/A

Those checks look useless as soon as the FrameworkBundle v2.8 already requires the DI component 2.8 version in which were introduced these methods.

I also spotted the fact the shared property is missing from the TextDescriptor (at least should appear when a service is not shared IMHO) and the autowiringTypes are also missing from the XmlDescriptor.

WDYT about fixing this here too, as a bug fix? Or should we actually consider the whole thing (clean + missing info in descriptors) as an enhancement and target master instead?

@dunglas
Copy link
Member

dunglas commented Jan 19, 2017

Oops I missed this one. The code can be more simplified: see #21341.

@ogizanagi
Copy link
Contributor Author

Closing in favor of #21341 then.
I'll propose another PR regarding the missing elements spotted and mentionned in the description.

@ogizanagi ogizanagi closed this Jan 19, 2017
@ogizanagi ogizanagi deleted the clean/2.8/descriptors branch January 19, 2017 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants