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

Fix uksort() callback returning bool deprecation #865

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

BenMorel
Copy link
Contributor

@BenMorel BenMorel commented Jun 21, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Documented? no
Fixed tickets #831
License MIT

Fixes a deprecation on PHP 8.0:

uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

This targets 0.12 as the uksort() call was introduced in this branch.

Not sure why all tests fail: failures are unrelated to this commit (I tried reverting it, same result).

@BenMorel BenMorel changed the base branch from master to 0.12 June 21, 2021 08:41
@BenMorel BenMorel force-pushed the uksort_deprecation branch 2 times, most recently from 08e765d to f049c42 Compare June 21, 2021 08:45
@mcg-web mcg-web merged commit dd76ab6 into overblog:0.12 Jun 23, 2021
@mcg-web
Copy link
Member

mcg-web commented Jun 23, 2021

Thank you!

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