Skip to content

Commit 36d516a

Browse files
committed
Merge branch '3.3' into 3.4
* 3.3: fixed some deprecation messages fixed some deprecation messages fixed some deprecation messages fixed some deprecation messages [2.7][DX] Use constant message contextualisation for deprecations
2 parents 970d907 + 8b81a2b commit 36d516a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Authorization/AccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct($voters = array(), $strategy = self::STRATEGY_AFFIRM
6262
*/
6363
public function setVoters(array $voters)
6464
{
65-
@trigger_error(sprintf('The %s() method is deprecated since version 3.3 and will be removed in 4.0. Pass the voters to the constructor instead.', __METHOD__), E_USER_DEPRECATED);
65+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Pass the voters to the constructor instead.', __METHOD__), E_USER_DEPRECATED);
6666

6767
$this->voters = $voters;
6868
}

Authorization/TraceableAccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
6767
*/
6868
public function setVoters(array $voters)
6969
{
70-
@trigger_error(sprintf('The %s() method is deprecated since version 3.3 and will be removed in 4.0. Pass voters to the decorated AccessDecisionManager instead.', __METHOD__), E_USER_DEPRECATED);
70+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Pass voters to the decorated AccessDecisionManager instead.', __METHOD__), E_USER_DEPRECATED);
7171

7272
if (!method_exists($this->manager, 'setVoters')) {
7373
return;

0 commit comments

Comments
 (0)