[DI] Fix DefinitionDecorator existency for composer authoritative+IDEs

This commit is contained in:
Nicolas Grekas 2016-12-17 11:29:12 +01:00
parent 200516aaaa
commit 9c3f755994

View File

@ -13,6 +13,10 @@ namespace Symfony\Component\DependencyInjection;
@trigger_error('The '.__NAMESPACE__.'\DefinitionDecorator class is deprecated since version 3.3 and will be removed in 4.0. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.', E_USER_DEPRECATED);
class_exists(ChildDefinition::class);
return;
/**
* This definition decorates another definition.
*
@ -20,4 +24,6 @@ namespace Symfony\Component\DependencyInjection;
*
* @deprecated The DefinitionDecorator class is deprecated since version 3.3 and will be removed in 4.0. Use the Symfony\Component\DependencyInjection\ChildDefinition class instead.
*/
class_exists(ChildDefinition::class);
class DefinitionDecorator extends Definition
{
}