Skip to content

Keep PHP 8.1 enums as is #171

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

Merged
merged 6 commits into from
Mar 3, 2022
Merged

Keep PHP 8.1 enums as is #171

merged 6 commits into from
Mar 3, 2022

Conversation

Slamdunk
Copy link
Contributor

Without this PR, enums raise the following Exception:

DeepCopy\Exception\CloneException: The class "DeepCopy\f012\Suit" is not cloneable.

I suggest to merge #170 before this one

@mnapoli
Copy link
Member

mnapoli commented Mar 2, 2022

Thanks, tests are failing, any idea?

@Slamdunk
Copy link
Contributor Author

Slamdunk commented Mar 3, 2022

@mnapoli I'm sorry I didn't check older PHP versions.

Now the build is green again 💪

@Slamdunk
Copy link
Contributor Author

Slamdunk commented Mar 3, 2022

Also, please remove continuous-integration/travis-ci as a mandatory check to merge PR, Travis is no longer used anymore

@mnapoli
Copy link
Member

mnapoli commented Mar 3, 2022

Thanks!

I've tried to disable Travis, not sure if it worked.

@mnapoli mnapoli merged commit 14daed4 into myclabs:1.x Mar 3, 2022
@Slamdunk Slamdunk deleted the enum branch March 3, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants