8000 remove duplicate trigger_deprecation · symfony/symfony@4ed60bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ed60bc

Browse files
remove duplicate trigger_deprecation
1 parent 7a14ad8 commit 4ed60bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/AutowireRequiredMethodsPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected function processValue(mixed $value, bool $isRoot = false): mixed
6969
if (false === stripos($doc, '@inheritdoc') || !preg_match('#(?:^/\*\*|\n\s*+\*)\s*+(?:\{@inheritdoc\}|@inheritdoc)(?:\s|\*/$)#i', $doc)) {
7070
break;
7171
}
72-
trigger_deprecation('symfony/dependency-injection', '6.3', 'The "@required" annotation on methods is deprecated, use the "Symfony\Contracts\Service\Attribute\Required" attribute instead.');
7372
}
7473
try {
7574
$r = $r->getPrototype();

0 commit comments

Comments
 (0)
0