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

Implement Fusion.Match in the Neos core #3318

Closed
Sebobo opened this issue Mar 23, 2021 · 0 comments · Fixed by #3321
Closed

Implement Fusion.Match in the Neos core #3318

Sebobo opened this issue Mar 23, 2021 · 0 comments · Fixed by #3321

Comments

@Sebobo
Copy link
Member

Sebobo commented Mar 23, 2021

Implementation same as https://github.com/Sebobo/Shel.Fusion.Match, but needs additional tests.

This helps cleaning Neos.Fusion:Case usages where only string comparisons are done. Idea is taken from PHP 8

@Sebobo Sebobo self-assigned this Mar 23, 2021
Sebobo added a commit to Sebobo/neos-development-collection that referenced this issue Mar 24, 2021
This change adds a new Fusion object to
replace many situations where the Case object
was used just to return a value based on a string.

The idea is based on the new match method in PHP 8.

Resolves: neos#3318
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant