Commit 33c66f3
committed
minor #1478 [StimulusBundle/TwigComponent] Fix "use_yield" to "true" deprecation notice in CI (evertharmeling)
This PR was merged into the 2.x branch.
Discussion
----------
[StimulusBundle/TwigComponent] Fix "use_yield" to "true" deprecation notice in CI
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Issues |
| License | MIT
Only this one remains (in StimulusBundle), but I can't find a direct implementation related to the `Environment` in that test. Maybe also related to symfony/symfony#53805 or thoughts anyone?
```
1x: Since twig/twig 3.9.0: Not setting "use_yield" to "true" is deprecated.
1x in StimulusControllerLoaderFunctionalTest::testFullApplicationLoad from Symfony\UX\StimulusBundle\Tests\AssetMapper
```
Commits
-------
1dbb7e0 [StimulusBundle] Set "use_yield" option to fix deprecation messageFile tree
3 files changed
+12
-4
lines changed- src
- StimulusBundle
- src/Helper
- tests/Dto
- TwigComponent/tests/Unit
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
161 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
0 commit comments