Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/debug/Exception/ContextErrorException.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/symfony/debug/Exception/ContextErrorException.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/symfony/debug/Exception/ContextErrorException.php Fri Feb 23 15:52:07 2018 +0000 @@ -15,6 +15,8 @@ * Error Exception with Variable Context. * * @author Christian Sciberras <uuf6429@gmail.com> + * + * @deprecated since version 3.3. Instead, \ErrorException will be used directly in 4.0. */ class ContextErrorException extends \ErrorException { @@ -31,6 +33,8 @@ */ public function getContext() { + @trigger_error(sprintf('The %s class is deprecated since Symfony 3.3 and will be removed in 4.0.', __CLASS__), E_USER_DEPRECATED); + return $this->context; } }