Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6

This commit is contained in:
Pantheon Automation 2017-02-02 16:28:38 -08:00 committed by Greg Anderson
parent db56c09587
commit f1e72395cb
588 changed files with 26857 additions and 2777 deletions

View file

@ -20,8 +20,6 @@ use Symfony\Component\Validator\Util\PropertyPath;
/**
* Default implementation of {@link ConstraintViolationBuilderInterface}.
*
* @since 2.5
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal You should not instantiate or use this class. Code against
@ -199,7 +197,7 @@ class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface
$this->message,
$this->plural,
$this->parameters,
$this->translationDomain#
$this->translationDomain
);
} catch (\InvalidArgumentException $e) {
$translatedMessage = $this->translator->trans(

View file

@ -19,8 +19,6 @@ namespace Symfony\Component\Validator\Violation;
* Finally, call {@link addViolation()} to add the violation to the current
* execution context.
*
* @since 2.5
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface ConstraintViolationBuilderInterface
@ -33,7 +31,7 @@ interface ConstraintViolationBuilderInterface
*
* @param string $path The property path
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function atPath($path);
@ -43,7 +41,7 @@ interface ConstraintViolationBuilderInterface
* @param string $key The name of the parameter
* @param string $value The value to be inserted in the parameter's place
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function setParameter($key, $value);
@ -54,7 +52,7 @@ interface ConstraintViolationBuilderInterface
* the values to be inserted in their place as
* values
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function setParameters(array $parameters);
@ -64,7 +62,7 @@ interface ConstraintViolationBuilderInterface
*
* @param string $translationDomain The translation domain
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*
* @see \Symfony\Component\Translation\TranslatorInterface
*/
@ -75,7 +73,7 @@ interface ConstraintViolationBuilderInterface
*
* @param mixed $invalidValue The invalid value
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function setInvalidValue($invalidValue);
@ -85,7 +83,7 @@ interface ConstraintViolationBuilderInterface
*
* @param int $number The number for determining the plural form
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*
* @see \Symfony\Component\Translation\TranslatorInterface::transChoice()
*/
@ -96,7 +94,7 @@ interface ConstraintViolationBuilderInterface
*
* @param string|null $code The violation code
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function setCode($code);
@ -105,7 +103,7 @@ interface ConstraintViolationBuilderInterface
*
* @param mixed $cause The cause of the violation
*
* @return ConstraintViolationBuilderInterface This builder
* @return $this
*/
public function setCause($cause);