Skip to content

Commit ef02ba5

Browse files
committed
Fix deprecation compatibility with Symfony 4.*
Signature in Symfony 4.*: `Alias::setDeprecated($status = true, $template = null)`
1 parent 4bbc15b commit ef02ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/DeprecatedAliasesCompilerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ private function getDeprecationMsg(string $message, string $version): array
4545
];
4646
}
4747

48-
return [$message];
48+
return [true, $message];
4949
}
5050
}

0 commit comments

Comments
 (0)