Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / var-dumper / Test / VarDumperTestTrait.php
index 0fffd55122218106e9471ce86ec1a20e458dcd32..aae113b6c5f9e02743685a93d7ce70f586743c42 100644 (file)
@@ -21,8 +21,8 @@ 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 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 @@ trait VarDumperTestTrait
 
     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;
         }