-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Deprecate Kernel::stripComments()
#51712
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
Deprecate Kernel::stripComments()
#51712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DI component can be used without the HttpKernel component, so this check is still relevant!
Hum, I understand now ! |
We could do that, yes. |
given that this method is not used anywhere in the HttpKernel component and does not depend on anything else in the component (its only dependency is |
148a7fe
to
4b7bdd6
Compare
Kernel::stripComments()
Kernel::stripComments()
Kernel::stripComments()
I deprecated method in |
src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
Outdated
Show resolved
Hide resolved
Kernel::stripComments()
Kernel::stripComments()
15ac150
to
43c5038
Compare
Thank you @alamirault. |
This PR replace
method_exists
byclass_exists
in order to check if component is available. It harmonize codebaseThis PR remove checking if methodKernel::setIgnore
exists.This method was introduced in symfony 2.3 (#18048), so now it's always available