* 1.x:
deprecated Twig_ExtensionInterface::getName()
added some missing tests for functions/filters as static calls
added missing information in deprecatd.rst
* 1.x:
fixed error message
Improved the error message when a child template defines contents outside parent blocks
adding missing dots to some exception messages
fixed exception message that might end with a ?
added a missing deprecation notice
removed obsolete comment
bumped version to 1.25.1-DEV
prepared the 1.25.0 release
fixed docs
Expanded definition of empty
* 1.x: (23 commits)
changed a test to make it more robust
bumped version to 1.24.3-DEV
prepared the 1.24.2 release
updated CHANGELOG
Floor - use cast and not intval
fixed CS
Do not mix indention levels
fixed typo
Add Visual Studio Code to the list of IDE integrations
Fixed all deprecation notices by using
[Doc] Fixed small error in code example
Update macro.rst
Update use.rst
Fix exception message for static method and object without req. params.
add named macro end-tag documentation
fixed CS
Fix load cache
Minor rst syntax tweaks
Reset blocks also in doLeaveNode
fix a case where the autoescaping does not work as expected
...
This PR was merged into the 1.x branch.
Discussion
----------
[DOC] add named macro end-tag documentation
Hello!
Just discover endmacro tag supports name, just like block.
But it is not mentionned in the doc.
So here's a PR
Commits
-------
dcc5f45 add named macro end-tag documentation
Hello,
Here's a minor update for recipes.rst
I rewrite the code sample for registerUndefinedFunctionCallback to remove usage of deprecated class Twig_Function_Function.
* 1.x:
[ExpressionParser] forbids true, false, null and none keywords for variables names.
fix a typo (add missing article)
Implement Twig_Extension_GlobalsInterface on getGlobals example
[Doc] Add a note about escaping backslashes inside strings
Fixed minor syntax issues in templates.rst
Promote the include() function instead of the "include" tag
This PR was squashed before being merged into the 1.x branch (closes#2005).
Discussion
----------
[Doc] Add a note about escaping backslashes inside strings
Backslashes inside strings caused some confusion for some users. See https://github.com/symfony/symfony/issues/18207
Commits
-------
463ea80 [Doc] Add a note about escaping backslashes inside strings
This PR was merged into the 1.x branch.
Discussion
----------
Promote the include() function instead of the "include" tag
The `{% include %}` tag is pseudo-officially deprecated in favor of the `include()` function. Let's update the documentation to promote the function instead of the tag.
Commits
-------
ea090df Promote the include() function instead of the "include" tag
* 1.x:
adding support for the ?? operator
fixed the defined test when used on a constant, a map, or a sequence
updated CHANGELOG
compare charset strictly