This PR was merged into the 1.x branch.
Discussion
----------
Try to rename filename to name where we really mean the template name, not the template path on the filesystem
Commits
-------
d03297e deprecated Twig_Node::getFilename() in favor of Twig_Node::getName()
eb47dc9 got rid of filename when we meant template name
This PR was merged into the 1.x branch.
Discussion
----------
added Twig_Source to hold information about the original template
Alternative to #2170
Commits
-------
6c76583 added Twig_Source to hold information about the original template
This PR was merged into the 1.x branch.
Discussion
----------
deprecated Twig_Error::getTemplateFile() and Twig_Error::setTemplateFile()
Commits
-------
b399ec0 deprecated Twig_Error::getTemplateFile() and Twig_Error::setTemplateFile()
This PR was merged into the 1.x branch.
Discussion
----------
deprecated Parser::getFilename()
The name is misleading as it returns the logical template name and not the proper filesystem path. In #2182, this is then replaced with a proper object. This PR simplifies the code review for #2182 by avoiding the pollution of all the changes in the token parser classes.
Commits
-------
d77f3dd deprecated Parser::getFilename()
* 1.x:
made it possible to store templates with vfsStream
Improved Sandbox error handling
fixed .travis.yml
marked Twig_TokenStream::getSource() as being internal
fixed CHANGELOGO
bumped version to 1.26.2-DEV
prepared the 1.26.1 release
removed template source code for generated template classes when debug is disabled
updated CHANGELOG
This PR was merged into the 2.0-dev branch.
Discussion
----------
undeprecate interface for a smooth upgrade path
The interface should then become deprecated in Twig 2.1 (see https://github.com/symfony/symfony/issues/18427#issuecomment-253293223).
Commits
-------
232e5be revert deprecations for a smooth upgrade path
This PR was merged into the 1.x branch.
Discussion
----------
made it possible to store templates with vfsStream
closes#2166
Commits
-------
4d60758 made it possible to store templates with vfsStream
This PR was squashed before being merged into the 1.x branch (closes#2176).
Discussion
----------
Improved Sandbox error handling
On the model of the SecurityNotAllowedFilterError, SecurityNotAllowedFunctionError and SecurityNotAllowedTagError, I added SecurityNotAllowedMethodError and SecurityNotAllowedPropertyError to allow the user to retrieve both the $className and $methodName/$propertyName from the exception.
Commits
-------
e1c980f Improved Sandbox error handling
This PR was merged into the 1.x branch.
Discussion
----------
marked Twig_TokenStream::getSource() as being internal
Commits
-------
4b1573b marked Twig_TokenStream::getSource() as being internal
This PR was merged into the 1.x branch.
Discussion
----------
removed template source code for generated template classes when debug is disabled
Commits
-------
7a04767 removed template source code for generated template classes when debug is disabled
* 1.x:
fixed regression on static calls for functions/filters/tests
default implementation of getDebugInfo() for BC
fix docblock
bumped version to 1.26.1-DEV
prepared the 1.26.0 release
fixed logic
fixed error class
updated CHANGELOG
Take into account passed options when generating cache key (closes#1604)
updated CHANGELOG
normalizePath: Do not mangle phar URLs.
This PR was merged into the 1.x branch.
Discussion
----------
fixed regression on static calls for functions/filters/tests
fixes#2160
What about deprecate this possibility? Using `__call()`/`__staticCall()` means that we don't support named arguments for instance.
Commits
-------
e01c29b fixed regression on static calls for functions/filters/tests
This PR was merged into the 1.x branch.
Discussion
----------
default implementation of getDebugInfo() for BC
eZ updated the code on their side in the meantime (see ezsystems/LegacyBridge#63), but there may be other projects doing similar things (fixes https://github.com/twigphp/Twig/pull/2129#discussion_r80250969).
Commits
-------
7b4cfdb default implementation of getDebugInfo() for BC