Deprecate not overriding Twig\Test\IntegrationTestCase::getFixturesDirectory(), this method will be abstract in 4.0
Marked Twig\Test\IntegrationTestCase::getTests() and getLegacyTests() as final
3.12.0 (2024-08-29)
Deprecate the fact that the extends and use tags are always allowed in a sandboxed template.
This behavior will change in 4.0 where these tags will need to be explicitly allowed like any other tag.
Deprecate the "tag" constructor argument of the "Twig\Node\Node" class as the tag is now automatically set by the Parser when needed
Fix precedence of two-word tests when the first word is a valid test
Deprecate the spaceless filter
Deprecate some internal methods from Parser: getBlockStack(), hasBlock(), getBlock(), hasMacro(), hasTraits(), getParent()
Deprecate passing null to Twig\Parser::setParent()
Update Node::__toString() to include the node tag if set
Add support for integers in methods of Twig\Node\Node that take a Node name
Deprecate not passing a BodyNode instance as the body of a ModuleNode or MacroNode constructor
Deprecate returning "null" from "TokenParserInterface::parse()".
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mbolli/nfsen-ng/network/alerts).
Bumps twig/twig from 3.8.0 to 3.14.0.
Changelog
Sourced from twig/twig's changelog.
... (truncated)
Commits
126b2c9
Prepare the 3.14.0 release11f68e2
Fix a security issue when an included sandboxed template has been loaded befo...540b54e
minor #4290 fix the version mergeGlobals() is deprecated since (xabbuh)7957202
Fix testf72c93d
fix the version mergeGlobals() is deprecated since064e079
Tweak code995e7c2
Fix CS6420791
minor #4289 Remove unused private methods (fabpot)45e167a
Add more tests28dc912
Remove unused private methodsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show