Skip to content

Refactor MyCLabs\Enum\Enum::equals calls to comparisons#4532

Merged
TomasVotruba merged 1 commit intorectorphp:mainfrom
rojtjo:feature/myclabs-enum-equals-method-call
Jul 18, 2023
Merged

Refactor MyCLabs\Enum\Enum::equals calls to comparisons#4532
TomasVotruba merged 1 commit intorectorphp:mainfrom
rojtjo:feature/myclabs-enum-equals-method-call

Conversation

@rojtjo
Copy link
Copy Markdown
Contributor

@rojtjo rojtjo commented Jul 17, 2023

When upgrading a codebase that uses the myclabs/php-enum package I noticed that the equals calls were not converted to comparisons. These changes add that functionality.

@rojtjo rojtjo requested a review from TomasVotruba as a code owner July 17, 2023 23:30
@TomasVotruba
Copy link
Copy Markdown
Member

Thank you for this feature 👏

@TomasVotruba TomasVotruba merged commit 5a9315a into rectorphp:main Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants