This PR was merged into the 1.x branch.
Discussion
----------
deprecate function/test/filter/tag overriding
closes#2293
Commits
-------
7ffb188 deprecated function/test/filter/tag overriding
* 1.x:
Sync PHP ext with PHP code to trigger deprecations
deprecated the "disable_c_ext" attribute on Twig_Node_Expression_GetAttr
removed ltrim because $class variable already ltrim'ed
Remove argument type from ExpressionParser constructor
bumped version to 1.29.1-DEV
prepared the 1.29.0 release
This PR was merged into the 1.x branch.
Discussion
----------
deprecate the "disable_c_ext" attribute on Twig_Node_Expression_GetAttr
Commits
-------
c215966 Sync PHP ext with PHP code to trigger deprecations
014ab1f deprecated the "disable_c_ext" attribute on Twig_Node_Expression_GetAttr
This PR was merged into the 1.x branch.
Discussion
----------
removed ltrim because $class variable already ltrim'ed
removed ltrim because $class variable already ltrim'ed
Commits
-------
3badb14 removed ltrim because $class variable already ltrim'ed
This PR was merged into the 1.x branch.
Discussion
----------
Remove $env argument type from ExpressionParser constructor
Either the argument type should be removed, or the whole "else" block and the deprecation warning is useless.
Commits
-------
3de96ef Remove argument type from ExpressionParser constructor
This PR was merged into the 1.x branch.
Discussion
----------
Fix sandbox being left enabled if an exception is thrown while rendering
What's happening for me:
- An exception is thrown while rendering inside the sandbox
- Render exception response
- WebProfiler toolbar tries to include a file
- Sandbox is still enabled, so a SecurityException is thrown (which hides the real error)
Commits
-------
171a1d4 Fix sandbox being left enabled if an exception is thrown while rendering with include function
This PR was merged into the 2.x branch.
Discussion
----------
Cleanups
Minor cleanup (getTemplateName is deprecated in 1.x)
Commits
-------
b8dabf6 Cleanups
This PR was merged into the 1.x branch.
Discussion
----------
Cleanup
Two things here:
guessTemplateInfo is private in 2.x
this PR will fix tests on 2.x
setTemplateName is deprecated, and the removed code paths are never run
Commits
-------
782102d Cleanup
* 1.x:
fixed CS
marked some classes as being final
Better type description on PHPDoc, better testing of returned value.
Make Twig_Error report real source path when possible
This PR was merged into the 1.x branch.
Discussion
----------
Better testing of operators returned by Extension
Add better testing and docs description about operators when using an extension.
Commits
-------
282df53 Better type description on PHPDoc, better testing of returned value.
This PR was merged into the 1.x branch.
Discussion
----------
marked some classes as being final
Not sure about this one. I'd like some reviews before merging (we might make some other ones final and I might have marked some as final which should not). ping @stof @nicolas-grekas
Commits
-------
e89c712 marked some classes as being final
This PR was merged into the 2.x branch.
Discussion
----------
Remove debugging class
this file was added in the repo in the 2.x branch during an upstream merge of the 1.x branch. It clearly looks like a mistake.
Commits
-------
8206f44 Remove debugging class
This PR was merged into the 1.x branch.
Discussion
----------
added support for {{ _self }} to provide an upgrade path from 1.x to 2.0
fixes#2284
Commits
-------
8ab764b added support for {{ _self }} to provide an upgrade path from 1.x to 2.0
* 1.x:
updated CHANGELOG
Deprecate usage of undefined blocks
deprecated support for mbstring.func_overload != 0
bumped version to 1.28.3-DEV
prepared the 1.28.2 release