Skip to content

Commit

Permalink
End of maintenance for the 2.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 22, 2023
1 parent a4974b2 commit 8250171
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
**End of maintainance of version 2 is scheduled for end of December 2023**
**Twig 2 is not maintained anymore**

# 2.16.0 (2023-12-22)

* Last version for the 2.x series
* Add SourcePolicyInterface to selectively enable the Sandbox based on a template's Source

# 2.15.6 (2023-21-11)

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.

**Twig version 2 end of maintainance is scheduled for end of December 2023.**
**Twig version 2 is not maintained anymore.**
Please, upgrade at your earliest convenience.

Sponsors
Expand Down
8 changes: 4 additions & 4 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
*/
class Environment
{
public const VERSION = '2.15.6';
public const VERSION_ID = 21506;
public const VERSION = '2.16.0';
public const VERSION_ID = 21600;
public const MAJOR_VERSION = 2;
public const MINOR_VERSION = 15;
public const RELEASE_VERSION = 6;
public const MINOR_VERSION = 16;
public const RELEASE_VERSION = 0;
public const EXTRA_VERSION = '';

private $charset;
Expand Down

0 comments on commit 8250171

Please sign in to comment.