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

Move operator definitions to objects #4543

Merged
merged 10 commits into from
Feb 14, 2025
Merged

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Jan 19, 2025

No description provided.

@fabpot fabpot force-pushed the operator-classes branch 5 times, most recently from 4461487 to bd7a8df Compare January 19, 2025 18:42
@fabpot fabpot force-pushed the operator-classes branch 5 times, most recently from 1749107 to 3d0e2f3 Compare January 26, 2025 14:28
@fabpot
Copy link
Contributor Author

fabpot commented Jan 26, 2025

New iteration where I have moved most pseudo-operators (logic hardcoded in ExpressionParser) to real operators like any other ones (think |, ., [, (, ??, ...).

@fabpot fabpot force-pushed the operator-classes branch 5 times, most recently from 339a8c3 to 4bf41b7 Compare January 26, 2025 14:53
@fabpot fabpot force-pushed the operator-classes branch 2 times, most recently from 35ef5c7 to 0704840 Compare January 29, 2025 11:27
@fabpot fabpot force-pushed the operator-classes branch 2 times, most recently from dc96f57 to ec728b6 Compare January 29, 2025 18:43
@fabpot fabpot force-pushed the operator-classes branch 2 times, most recently from c9cc79d to df5904e Compare February 1, 2025 14:44
@fabpot fabpot force-pushed the operator-classes branch 5 times, most recently from e140931 to 9c25c96 Compare February 6, 2025 18:32
@fabpot fabpot force-pushed the operator-classes branch 5 times, most recently from 72748e3 to 10f2090 Compare February 13, 2025 12:21
@fabpot
Copy link
Contributor Author

fabpot commented Feb 13, 2025

I think I've taken all comments into account now.
Ready for maybe a lst round of reviews?

Copy link
Contributor

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very very high overview :)

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier
…ns instead of arrays

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier

Verified

This commit was signed with the committer’s verified signature.
fabpot Fabien Potencier
@fabpot fabpot merged commit 1ea5ac6 into twigphp:3.x Feb 14, 2025
36 of 41 checks passed
@fabpot fabpot deleted the operator-classes branch February 14, 2025 07:51
smnandre added a commit to symfony/ux that referenced this pull request Feb 22, 2025
…Parser) (smnandre)

This PR was merged into the 2.x branch.

Discussion
----------

[TwigComponent] Fix Twig 3.21 deprecations (getExpressionParser)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

Following twigphp/Twig#4543

Commits
-------

dfeb323 [TwigComponent] Fix getExpressionParser deprecations (Twig 3.21)
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.

None yet

4 participants