Commit 7199104
committed
minor #20879 [TwigBundle] Enable
This PR was squashed before being merged into the 7.3 branch.
Discussion
----------
[TwigBundle] Enable `#[AsTwigFilter]`, `#[AsTwigFunction]` and `#[AsTwigTest]`
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `7.x` for features of unreleased versions).
-->
fix #20828
I did not listed the `AsTwigTest` attribute in the attributes list as no doc make mention of use case of this attribute. Do I had it anyway without any link to it (or a link to the [twig documentation](https://twig.symfony.com/doc/3.x/advanced.html#using-php-attributes-to-define-extensions))?
Also I hope my wording is correct, feel free to ask me any adjustment 😄
I followed the plan of `@javiereguiluz`
Commits
-------
15849ea [TwigBundle] Enable `#[AsTwigFilter]`, `#[AsTwigFunction]` and `#[AsTwigTest]`#[AsTwigFilter], #[AsTwigFunction] and #[AsTwigTest] (RisingSunLight42)File tree
3 files changed
+37
-40
lines changed- quick_tour
- reference
3 files changed
+37
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
170 | 169 | | |
171 | | - | |
| 170 | + | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 177 | + | |
185 | 178 | | |
186 | 179 | | |
187 | 180 | | |
| |||
197 | 190 | | |
198 | 191 | | |
199 | 192 | | |
200 | | - | |
201 | | - | |
| 193 | + | |
| 194 | + | |
202 | 195 | | |
203 | 196 | | |
204 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1553 | 1553 | | |
1554 | 1554 | | |
1555 | 1555 | | |
1556 | | - | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
1557 | 1561 | | |
1558 | 1562 | | |
1559 | 1563 | | |
1560 | 1564 | | |
1561 | | - | |
1562 | | - | |
| 1565 | + | |
1563 | 1566 | | |
1564 | | - | |
| 1567 | + | |
1565 | 1568 | | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
1572 | | - | |
| 1569 | + | |
1573 | 1570 | | |
1574 | 1571 | | |
1575 | 1572 | | |
| |||
1579 | 1576 | | |
1580 | 1577 | | |
1581 | 1578 | | |
1582 | | - | |
1583 | | - | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
1584 | 1583 | | |
1585 | 1584 | | |
1586 | 1585 | | |
1587 | 1586 | | |
1588 | | - | |
1589 | | - | |
| 1587 | + | |
1590 | 1588 | | |
1591 | | - | |
| 1589 | + | |
1592 | 1590 | | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
| 1591 | + | |
1600 | 1592 | | |
1601 | 1593 | | |
1602 | 1594 | | |
| |||
1608 | 1600 | | |
1609 | 1601 | | |
1610 | 1602 | | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1611 | 1613 | | |
1612 | 1614 | | |
1613 | 1615 | | |
| |||
1631 | 1633 | | |
1632 | 1634 | | |
1633 | 1635 | | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
1638 | 1640 | | |
1639 | 1641 | | |
1640 | 1642 | | |
| |||
0 commit comments