From bf07db4f1305bab3a779e0875540f4fe8e5cdc84 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 7 Nov 2016 19:49:36 +0100 Subject: [PATCH] add machine-readable version constants --- lib/Twig/Environment.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index e7b5dc45b..29d66c82a 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -17,6 +17,11 @@ class Twig_Environment { const VERSION = '1.27.1-DEV'; + const VERSION_ID = 12701; + const MAJOR_VERSION = 1; + const MINOR_VERSION = 27; + const RELEASE_VERSION = 1; + const EXTRA_VERSION = 'DEV'; protected $charset; protected $loader;