diff vendor/symfony/var-dumper/Test/VarDumperTestTrait.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
line wrap: on
line diff
--- a/vendor/symfony/var-dumper/Test/VarDumperTestTrait.php	Thu Feb 28 11:14:44 2019 +0000
+++ b/vendor/symfony/var-dumper/Test/VarDumperTestTrait.php	Thu Feb 28 13:11:55 2019 +0000
@@ -21,8 +21,8 @@
 {
     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 Symfony 3.4 and will be moved at 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED);
+        if (\is_string($filter)) {
+            @trigger_error(sprintf('The $message argument of the "%s()" method at the 3rd position is deprecated since Symfony 3.4 and will be moved at the 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED);
             $message = $filter;
             $filter = 0;
         }
@@ -32,8 +32,8 @@
 
     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 Symfony 3.4 and will be moved at 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED);
+        if (\is_string($filter)) {
+            @trigger_error(sprintf('The $message argument of the "%s()" method at the 3rd position is deprecated since Symfony 3.4 and will be moved at the 4th position in 4.0.', __METHOD__), E_USER_DEPRECATED);
             $message = $filter;
             $filter = 0;
         }