Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / validator / Constraints / Valid.php
index 0fb782906522517ed03ee1aa7362e9fac5f9a750..439da3ae0056a4177fb8da765ad7fefa014e968f 100644 (file)
@@ -24,11 +24,6 @@ class Valid extends Constraint
 {
     public $traverse = true;
 
-    /**
-     * @deprecated since version 2.5, to be removed in Symfony 3.0.
-     */
-    public $deep = true;
-
     public function __construct($options = null)
     {
         if (is_array($options) && array_key_exists('groups', $options)) {
@@ -38,10 +33,6 @@ class Valid extends Constraint
             ));
         }
 
-        if (is_array($options) && array_key_exists('deep', $options)) {
-            @trigger_error('The "deep" option for the Valid constraint is deprecated since version 2.5 and will be removed in 3.0. When traversing arrays, nested arrays are always traversed. When traversing nested objects, their traversal strategy is used.', E_USER_DEPRECATED);
-        }
-
         parent::__construct($options);
     }
 }