-
Notifications
You must be signed in to change notification settings - Fork 15
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
usort() deprecation (PHP 8.0) #74
Comments
kohenkatz
added a commit
to kohenkatz/composer-versions-check
that referenced
this issue
Oct 1, 2021
According to the documentation, all versions of PHP support the `usort` callable parameter returning an `integer`. While earlier versions silently accepted a `boolean`, PHP 8.x throws a deprecation notice: ``` Deprecation Notice: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in C:\Users\MY_USER\AppData\Roaming\Composer\vendor\sllh\composer-versions-check\src\VersionsCheck.php:54 ``` This fix (based on [this comment](soullivaneuh#75 (comment))) eliminates this notice. fixes soullivaneuh#74
Any update on this? |
This project is clearly completely dead for years. I created a new fork ( https://github.com/dereuromark/composer-versions-check ). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: