Skip to content

Fix MacroTest#4264

Merged
fabpot merged 1 commit into
twigphp:3.xfrom
derrabus:bugfix/macro-test
Sep 2, 2024
Merged

Fix MacroTest#4264
fabpot merged 1 commit into
twigphp:3.xfrom
derrabus:bugfix/macro-test

Conversation

@derrabus

@derrabus derrabus commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

Because of a typo in a variable name, MacroTest was never executed. This PR fixes the typo and adjusts the expected compiled PHP code, assuming that the current behavior is correct.

@xabbuh

xabbuh commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

The failure looks related.

@stof

stof commented Sep 2, 2024

Copy link
Copy Markdown
Member

The failure is because the compiled code is different depending on the state of use_yield (and we have CI jobs running for both modes)

@derrabus

derrabus commented Sep 2, 2024

Copy link
Copy Markdown
Contributor Author

Indeed. I'm now testing both variants and set that parameter explicitly.

@fabpot

fabpot commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

Thank you @derrabus.

@fabpot fabpot merged commit 6b37522 into twigphp:3.x Sep 2, 2024
@derrabus derrabus deleted the bugfix/macro-test branch September 2, 2024 17:45
@derrabus derrabus mentioned this pull request Sep 3, 2024
10 tasks
fabpot added a commit that referenced this pull request Sep 4, 2024
This PR was squashed before being merged into the 4.x branch.

Discussion
----------

PHPUnit 11

This PR switches our CI to PHPUnit 11.

TODO:

- [x] #4262
- [x] #4263
- [x] #4264
- [x] #4265
- [x] #4268
- [x] #4266
- [x] #4270
- [x] #4271
- [x] #4272
- [x] #4274

Commits
-------

f2053bb PHPUnit 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants