Closed renovate[bot] closed 2 months ago
Code Climate has analyzed commit 59d93877 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 96.5% (0.0% change).
View more on Code Climate.
Totals | |
---|---|
Change from base Build 10591016249: | 0.0% |
Covered Lines: | 2221 |
Relevant Lines: | 2301 |
This PR contains the following updates:
3.11.0
->3.12.0
Release Notes
twigphp/Twig (twig/twig)
### [`v3.12.0`](https://togithub.com/twigphp/Twig/blob/HEAD/CHANGELOG#3120-2024-08-29) [Compare Source](https://togithub.com/twigphp/Twig/compare/v3.11.0...v3.12.0) - 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()". - Deprecate `OptimizerNodeVisitor::OPTIMIZE_TEXT_NODES` - Fix performance regression when `use_yield` is `false` (which is the default) - Improve compatibility when `use_yield` is `false` (as extensions still using `echo` will work as is) - Accept colons (`:`) in addition to equals (`=`) to separate argument names and values in named arguments - Add the `html_cva` function (in the HTML extra package) - Add support for named arguments to the `block` and `attribute` functions - Throw a SyntaxError exception at compile time when a Twig callable has not the minimum number of required arguments - Add a `CallableArgumentsExtractor` class - Deprecate passing a name to `FunctionExpression`, `FilterExpression`, and `TestExpression`; pass a `TwigFunction`, `TwigFilter`, or `TestFilter` instead - Deprecate all Twig callable attributes on `FunctionExpression`, `FilterExpression`, and `TestExpression` - Deprecate the `filter` node of `FilterExpression` - Add the notion of Twig callables (functions, filters, and tests) - Bump minimum PHP version to 8.0 - Fix integration tests when a test has more than one data/expect section and deprecations - Add the `enum_cases` functionConfiguration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.