Skip to content

Commit 50f93af

Browse files
committed
[2.7][DX] Use constant message contextualisation for deprecations
1 parent 0d6d830 commit 50f93af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppVariable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function setDebug($debug)
6868
*/
6969
public function getSecurity()
7070
{
71-
@trigger_error('The "app.security" variable is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
71+
@trigger_error('The "app.security" variable is deprecated since Symfony 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
7272

7373
if (null === $this->container) {
7474
throw new \RuntimeException('The "app.security" variable is not available.');

0 commit comments

Comments
 (0)