X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Ftwig%2Ftwig%2Flib%2FTwig%2FEnvironment.php;fp=vendor%2Ftwig%2Ftwig%2Flib%2FTwig%2FEnvironment.php;h=e4e8abdb0fce3aca6b9365f9c7322f44a3f9ec8e;hp=c8402f15deb5e89ff86f48cebd6436e65cf8d71a;hb=5e458ff8cb4924fd5fa03b80d8edfcc52fe43479;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5 diff --git a/vendor/twig/twig/lib/Twig/Environment.php b/vendor/twig/twig/lib/Twig/Environment.php index c8402f15d..e4e8abdb0 100644 --- a/vendor/twig/twig/lib/Twig/Environment.php +++ b/vendor/twig/twig/lib/Twig/Environment.php @@ -16,11 +16,11 @@ */ class Twig_Environment { - const VERSION = '1.35.1'; - const VERSION_ID = 13501; + const VERSION = '1.35.3'; + const VERSION_ID = 13503; const MAJOR_VERSION = 1; const MINOR_VERSION = 35; - const RELEASE_VERSION = 1; + const RELEASE_VERSION = 3; const EXTRA_VERSION = ''; protected $charset; @@ -132,14 +132,14 @@ class Twig_Environment // For BC if (is_string($this->originalCache)) { $r = new ReflectionMethod($this, 'writeCacheFile'); - if ($r->getDeclaringClass()->getName() !== __CLASS__) { + if (__CLASS__ !== $r->getDeclaringClass()->getName()) { @trigger_error('The Twig_Environment::writeCacheFile method is deprecated since version 1.22 and will be removed in Twig 2.0.', E_USER_DEPRECATED); $this->bcWriteCacheFile = true; } $r = new ReflectionMethod($this, 'getCacheFilename'); - if ($r->getDeclaringClass()->getName() !== __CLASS__) { + if (__CLASS__ !== $r->getDeclaringClass()->getName()) { @trigger_error('The Twig_Environment::getCacheFilename method is deprecated since version 1.22 and will be removed in Twig 2.0.', E_USER_DEPRECATED); $this->bcGetCacheFilename = true;