-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[DI] Improve the deprecation features by handling package and version #35778
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
[DI] Improve the deprecation features by handling package and version #35778
Conversation
282f202 to
875b04e
Compare
nicolas-grekas
left a comment
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.
Some food for thoughts :)
src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/prototype.expected.yml
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/services9.xml
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
Outdated
Show resolved
Hide resolved
14e0253 to
1a0de43
Compare
src/Symfony/Component/DependencyInjection/Compiler/ResolveChildDefinitionsPass.php
Show resolved
Hide resolved
f00b925 to
810d6bf
Compare
src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/DeprecateTrait.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
Outdated
Show resolved
Hide resolved
|
(oh, and please mind tests :) ) |
49228e9 to
bf80625
Compare
7e813eb to
9546db7
Compare
|
@nicolas-grekas PR is ready for another review I did the changes you suggested + I added tests (now all tests with |
9546db7 to
f98fffa
Compare
nicolas-grekas
left a comment
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.
Almost good, just minor things now.
src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/DeprecateTrait.php
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
Outdated
Show resolved
Hide resolved
7a2598a to
3d96a97
Compare
3d96a97 to
b736b39
Compare
b736b39 to
78dfad6
Compare
src/Symfony/Component/DependencyInjection/Compiler/ResolveChildDefinitionsPass.php
Outdated
Show resolved
Hide resolved
78dfad6 to
3cb1b81
Compare
…ckage+version info
3cb1b81 to
f10413c
Compare
|
Thank you @atailouloute. |
Improve the deprecation feature of the Dependency Injection component, by handling the
package+since_versionBefore
now:
TODO: