This PR was squashed before being merged into the 1.x branch (closes#2308).
Discussion
----------
added PHP CS Fixer config
Commits
-------
aa9604a added PHP CS Fixer config
aa71a65 fixed CS
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
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 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
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 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
This PR was merged into the 1.x branch.
Discussion
----------
Deprecate usage of undefined blocks
Alternative to #2277.
Commits
-------
75d474a Deprecate usage of undefined blocks
This PR was merged into the 1.x branch.
Discussion
----------
Deprecate support for mbstring.func_overload != 0
see https://wiki.php.net/rfc/deprecations_php_7_2
Commits
-------
6668d47 deprecated support for mbstring.func_overload != 0
This PR was squashed before being merged into the 1.x branch (closes#2272).
Discussion
----------
Fix unconsistent behavior with "get" and "is"
Commits
-------
8fb35d5 Fix unconsistent behavior with "get" and "is"