Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mostly revert "Fixes for nested multipliers (#59)" #110

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

jtojnar
Copy link
Collaborator

@jtojnar jtojnar commented May 14, 2024

This partially reverts commit 39725d3.

The commit introduced a regression in testGroupManualRenderWithButtons, changed the internal architecture in a way that made it harder to reason about (the Multiplier inconsistently took over some responsibilities of ComponentResolver). Additionally, it applied the following changes that are unrelated to the purported fix and not really necessary:

  • Latte 2 macros are trivial to migrate and unclearly named, no need to keep them for BC.
  • The onSuccess handlers were already fixed in ed96ba0.
  • testGroupManualRenderWithButtons look like remnants of debugging effort, they do not fix the test.

We are only keeping the following:

  • Test for nested support (to be implemented later).
  • Fix for assertMatchesRegularExpression deprecation in PHPUnit.

For reference, the reverted change is the following commit that was squashed into 39725d3, except for the change to testSendNested:
2c33de2

This partially reverts commit 39725d3.

The commit introduced a regression in `testGroupManualRenderWithButtons`,
changed the internal architecture in a way that made it harder to reason about
(the Multiplier inconsistently took over some responsibilities of ComponentResolver).
Additionally, it applied the following changes that are unrelated
to the purported fix and not really necessary:

- Latte 2 macros are trivial to migrate and unclearly named, no need to keep them for BC.
- The onSuccess handlers were already fixed in ed96ba0.
- `testGroupManualRenderWithButtons` look like remnants of debugging effort, they do not fix the test.

We are only keeping the following:

- Test for nested support (to be implemented later).
- Fix for `assertMatchesRegularExpression` deprecation in PHPUnit.

For reference, the reverted change is the following commit that was squashed
into 39725d3, except for the change to `testSendNested`:
2c33de2
@jtojnar jtojnar marked this pull request as ready for review May 14, 2024 21:44
@jtojnar jtojnar merged commit 71cc347 into master May 14, 2024
3 of 7 checks passed
@jtojnar jtojnar deleted the revert-59 branch May 14, 2024 21:45
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.

1 participant