Skip to content
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

php 8+ edge cases fixes #630

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

bruno-farias
Copy link
Contributor

This PR fixes issues with division by zero, returns from function pregSplit to match the expected, and calculates maximum width for a single character on the string will not throw an error when the variable is not countable

Copy link
Contributor

@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 !

@edoniti
Copy link

edoniti commented Jul 13, 2023

@williamdes I am having a problem that is solved from this pull request (max function throwing an error because of the empty array). Can we except this to be merged to the main branch?

@williamdes
Copy link
Contributor

Hi @nicolaasuni
Would you mind giving a review of pending PRs?

@williamdes williamdes mentioned this pull request Aug 2, 2023
@kallesommernielsen
Copy link

Just encountered this issue for some our customers at Fixably too after upgrading to PHP8. I tested the changes from this PR and confirm it works on our end so it would be lovely if this PR could get reviewed and merged.

I left an in-line review that also fixes another minor issue, that this PR doesn't fully resolve

@nicolaasuni nicolaasuni merged commit de332db into tecnickcom:main Sep 6, 2023
0 of 76 checks passed
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.

5 participants