8000 [DI] Fix DefinitionDecorator existency for composer authoritative+IDEs · symfony/symfony@9c3f755 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c3f755

Browse files
[DI] Fix DefinitionDecorator existency for composer authoritative+IDEs
1 parent 200516a commit 9c3f755

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Symfony/Component/DependencyInjection/DefinitionDecorator.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@
1313

1414
@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);
1515

16+
class_exists(ChildDefinition::class);
17+
18+
return;
19+
1620
/**
1721
* This definition decorates another definition.
1822
*
1923
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2024
*
2125
* @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.
2226
*/
23-
class_exists(ChildDefinition::class);
27+
class DefinitionDecorator extends Definition
28+
{
29+
}

0 commit comments

Comments
 (0)
0