plugin-update-checker icon indicating copy to clipboard operation
plugin-update-checker copied to clipboard

PHP Deprecated notices

Open dbarproductions opened this issue 7 months ago • 3 comments

Not a big deal at this point, as I'm just trying this out, but getting these deprecated notices with PHP 8.4.7:

[19-May-2025 22:55:10 UTC] PHP Deprecated: YahnisElsts\PluginUpdateChecker\v5p5\UpdateChecker::fixSupportedWordpressVersion(): Implicitly marking parameter $update as nullable is deprecated, the explicit nullable type must be used instead in \plugin-update-checker\Puc\v5p5\UpdateChecker.php on line 462 [19-May-2025 22:55:10 UTC] PHP Deprecated: YahnisElsts\PluginUpdateChecker\v5p5\StateStore::setUpdate(): Implicitly marking parameter $update as nullable is deprecated, the explicit nullable type must be used instead in \plugin-update-checker\Puc\v5p5\StateStore.php on line 80

dbarproductions avatar May 19 '25 23:05 dbarproductions

I think this was already fixed in #593, I just need to make a new release that includes the patch. I'll see if I can do that today.

YahnisElsts avatar May 20 '25 14:05 YahnisElsts

No worries, thanks! Take your time. Just starting to use your library as I remove some of my plugins from wordpress.org and open up my previously private repos here to the public. Just needed a way to serve updates from GitHub instead of wordpress.org, and your library is the #1 recommended solution. Glad to have found it!

dbarproductions avatar May 20 '25 16:05 dbarproductions

Version 5.6 is out and includes the patch I mentioned.

YahnisElsts avatar May 20 '25 17:05 YahnisElsts