From e2b6efaebc75fcf6c302e47321c9ce7f21e00b8b Mon Sep 17 00:00:00 2001 From: Dany Maillard Date: Mon, 3 Jul 2017 20:12:11 +0200 Subject: [PATCH] Remove bc layer --- .../Component/VarDumper/Test/VarDumperTestTrait.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php index dad06a653c..4b47a89ab9 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php @@ -21,23 +21,11 @@ trait VarDumperTestTrait { public function assertDumpEquals($dump, $data, $filter = 0, $message = '') { - if (is_string($filter)) { - @trigger_error(sprintf('The $message argument of the "%s()" method at 3rd position is deprecated since version 3.4 and will be moved at 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED); - $message = $filter; - $filter = 0; - } - $this->assertSame(rtrim($dump), $this->getDump($data, null, $filter), $message); } public function assertDumpMatchesFormat($dump, $data, $filter = 0, $message = '') { - if (is_string($filter)) { - @trigger_error(sprintf('The $message argument of the "%s()" method at 3rd position is deprecated since version 3.4 and will be moved at 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED); - $message = $filter; - $filter = 0; - } - $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data, null, $filter), $message); }