mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
5194101f12
* 3.x: Refactor code Add some type hints Deprecate using ~ with + or - in an expression without using parentheses to clarify precedence Change some type hints to be more precise Deprecate not passing AbstractExpression args to most constructor arguments for classes extending AbstractExpression Remove obsolete method Add support for detecting if an expression had explicit parentheses Fix tests Unify error messages when a filter expects a mapping/sequence