mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 13:25:41 +00:00
Explain that the inert attribute classes are kept for static analysis, not class loading
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
* Remove support for cloning `Twig\Environment`; create a new environment instead
|
||||
* Remove support for calling `TemplateWrapper::unwrap()` without an environment argument
|
||||
* Stop detecting `echo` and `print` in compiled nodes; `yield` is the only supported mode and 3.x deprecates the alternative
|
||||
* Remove the now inert `#[YieldReady]` attribute from the built-in nodes; the attribute itself is kept so 3.x extensions still load
|
||||
* Remove the now inert `#[FirstClassTwigCallableReady]` attribute from the built-in nodes; the attribute itself is kept so 3.x extensions still load
|
||||
* Remove the now inert `#[YieldReady]` attribute from the built-in nodes; the attribute class is kept so code supporting both 3.x and 4.x passes static analysis
|
||||
* Remove the now inert `#[FirstClassTwigCallableReady]` attribute from the built-in nodes; the attribute class is kept so code supporting both 3.x and 4.x passes static analysis
|
||||
* Add an optional `string $template = ''` argument to `IncludeNode::addGetTemplate()`; subclasses overriding this method must declare a compatible parameter
|
||||
* Remove the obsolete `Twig\Test\NodeTestCase::getTests()` method; override `provideTests()` instead
|
||||
* Make `Twig\Markup` final
|
||||
|
||||
Reference in New Issue
Block a user