Fix PHP 8.4 deprecations#444
Fix PHP 8.4 deprecations#444cedric-anne wants to merge 2 commits intoapereo:masterfrom cedric-anne:fix/php-8.4
Conversation
|
This can't pass the tests until PHP 8.4 is actually released, or it needs to specify the PHP version as |
|
Test suite fails because |
|
PHP8.4 is release now. Would be nice to merge this PR :-) |
|
👍 Would love to see this merged as well. |
|
i would also really appreciate the merge of this PR :) |
|
We would appreciate a merge too ... |
|
@cedric-anne deleted their branch, but thanks to @prigaux, a fork now exists that is maintained. The easiest way I could find is to register the fork as a package to replace the official one: (Original comment) FYI: As a temporary fix, it is possible to install cedric-anne's version by referencing the commit directly in your Composer configuration: Where the hash is the latest commit as of today.
|
Implicitly nullable parameter declarations are deprecated in PHP 8.4. The proposed change is safe and is not considered by PHP as a signature change, see https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated