Skip to content

Conversation

@iluuu1994
Copy link
Contributor

@iluuu1994 iluuu1994 commented Aug 19, 2020

Note this currently breaks Psalm/PHPStan, even though PHP 8.0 is still months away from releasing.

@ossobuffo
Copy link

8.0.0 is now stable, so this issue is now more pressing.

@ossobuffo
Copy link

At first I was skeptical about renaming Match as Match_, but I see that is what was done in nikic/php-parser as well.

@SavageTiger
Copy link
Contributor

I would not rename this class to Match_, there really is no reason todo so.

A better solution would be to give it a more specific name, the fact that it now clashes with an operator name should already be a smell that it is not specific enough.

For example, why don't we call this DifferenceMatch?

@SavageTiger
Copy link
Contributor

This issue is fixed when #93 is merged.

@SavageTiger
Copy link
Contributor

This has been fixed in version v0.1.10

@SavageTiger SavageTiger closed this Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants