Skip to content

Conversation

@alexandre-daubois
Copy link
Member

ext/hash currently uses a mix of SUCCESS, FAILURE and custom return codes. I propose to remove these magic numbers, define an enum for the return type.

I also removed a few elses to reduce complexity.

@alexandre-daubois alexandre-daubois marked this pull request as draft August 6, 2025 07:02
@alexandre-daubois alexandre-daubois force-pushed the ext-hash-return branch 2 times, most recently from 4b8063f to 6b7915e Compare August 6, 2025 07:04
@alexandre-daubois alexandre-daubois marked this pull request as ready for review August 6, 2025 07:26
@iluuu1994 iluuu1994 requested a review from Girgias August 8, 2025 17:40
@Girgias Girgias requested review from nielsdos and removed request for Girgias August 8, 2025 20:17
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

Thanks

@nielsdos nielsdos merged commit 74c006f into php:master Aug 9, 2025
8 of 9 checks passed
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