Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / var-dumper / Caster / MongoCaster.php
index 92258f06fa23871b7f27b6c9de21549fba47f29f..3b8fb338e5bff02461dcdbb563e8e1be3f0fc430 100644 (file)
@@ -13,10 +13,14 @@ namespace Symfony\Component\VarDumper\Caster;
 
 use Symfony\Component\VarDumper\Cloner\Stub;
 
+@trigger_error('The '.__NAMESPACE__.'\MongoCaster class is deprecated since Symfony 3.4 and will be removed in 4.0.', E_USER_DEPRECATED);
+
 /**
  * Casts classes from the MongoDb extension to array representation.
  *
  * @author Nicolas Grekas <p@tchwork.com>
+ *
+ * @deprecated since version 3.4, to be removed in 4.0.
  */
 class MongoCaster
 {