Skip to content

Conversation

@mattiabasone
Copy link

Same as #256 with some review changes and workflow improvements

redbeardcreator and others added 10 commits December 8, 2024 23:21
This removes the deprecations introduced in PHP 8.4
PHP 8.4 makes not doing so a deprecation.
PHP 8.4 deprecates the use of E_USER_ERROR. This can mangle the exception thrown. So, skip the test
in PHP 8.4. It may be possible to fix up what's being thrown, but I haven't found anything.

Since using trigger_error for user errors is now deprecated, error_to_exception() should probably be
deprecated as well. But that's a greater decision than making sure tests work correctly.
PHP 8.4 has changed the format of __FUNCTION__ for closures, at least.
PHP 8.4 deprecates the implicit conversion from doubles to ints when doing so would lose precision.
However, disallowing doubles as array keys in Functional would be a BC break.
@mattiabasone mattiabasone marked this pull request as ready for review April 28, 2025 12:58
@mattiabasone
Copy link
Author

@lstrojny is it ok for you to drop older PHP versions? I was thinking about 7.1 7.2 and 7.3

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