Skip to content

Fix #29 - Turn ShapeType into an enum #34

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 1 commit into from
Oct 10, 2024

Conversation

JoolsMcFly
Copy link
Contributor

@JoolsMcFly JoolsMcFly commented Sep 27, 2024

Hi!

Thought I'd give a go at #29 .

In various places shapeType was set to -1 as default value. I replaced it with ShapeType::NULL and would like feed back on that.

Thanks for reviewing!

@JoolsMcFly
Copy link
Contributor Author

Hi. Is there anything I can do on my side to get this merged?
Thanks!

Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

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

Thank you for this improvement !

@williamdes
Copy link
Member

What do you think @MauricioFauth ?

@williamdes williamdes changed the title Chore/turn ShapeType into an enum (fixes #29) Fix #29 - Turn ShapeType into an enum Oct 7, 2024
@JoolsMcFly
Copy link
Contributor Author

Hi @MauricioFauth . Thanks for your feedback.

I just added a commit which turns enum cases in PascalCase and adds an Unknown type.

Lemme know what you think.

Thanks!

@MauricioFauth
Copy link
Member

@JoolsMcFly Could you please add a Signed-off-by line to the commit message using git commit --signoff or git commit -s?

@JoolsMcFly
Copy link
Contributor Author

@JoolsMcFly Could you please add a Signed-off-by line to the commit message using git commit --signoff or git commit -s?

Hi @MauricioFauth .
If you don't mind I'll wait until I get green light before I squash my commits and sign. Is that OK?

@JoolsMcFly
Copy link
Contributor Author

Thanks for your review. It all makes sense and I've made required changes.

Copy link
Member

@MauricioFauth MauricioFauth left a comment

Choose a reason for hiding this comment

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

Great work! Thanks!

turn ShapeType into an Enum

Signed-off-by: Julien Dephix <[email protected]>
@JoolsMcFly JoolsMcFly force-pushed the chore/ShapeType-to-Enum branch from 5bbba9a to d302fee Compare October 10, 2024 13:29
@JoolsMcFly
Copy link
Contributor Author

Alright, squashed and signed!

@MauricioFauth MauricioFauth merged commit d8550ba into phpmyadmin:master Oct 10, 2024
9 checks passed
@MauricioFauth MauricioFauth self-assigned this Oct 10, 2024
@MauricioFauth MauricioFauth added this to the 4.0.0 milestone Oct 10, 2024
@JoolsMcFly JoolsMcFly deleted the chore/ShapeType-to-Enum branch October 10, 2024 20:57
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.

Change the ShapeType class to be an enum
3 participants