Skip to content

PHP warnings in PHP8.4 #1375

@uprise10

Description

@uprise10

Describe the bug

When using the plugin with PHP8.4 we see multiple PHP notices:

Deprecated: YahnisElsts\PluginUpdateChecker\v5p1\UpdateChecker::fixSupportedWordpressVersion(): Implicitly marking parameter $update as nullable is deprecated, the explicit nullable type must be used instead in //wp-content/plugins/distributor/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/UpdateChecker.php on line 365

Deprecated: YahnisElsts\PluginUpdateChecker\v5p1\StateStore::setUpdate(): Implicitly marking parameter $update as nullable is deprecated, the explicit nullable type must be used instead in //wp-content/plugins/distributor/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/StateStore.php on line 80

Deprecated: Parsedown::blockSetextHeader(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in //wp-content/plugins/distributor/vendor/yahnis-elsts/plugin-update-checker/vendor/ParsedownModern.php on line 651

Deprecated: Parsedown::blockTable(): Implicitly marking parameter $Block as nullable is deprecated, the explicit nullable type must be used instead in //wp-content/plugins/distributor/vendor/yahnis-elsts/plugin-update-checker/vendor/ParsedownModern.php on line 789

Steps to Reproduce

  1. Make sure the website is running on PHP8.4
  2. go to settings page in Network admin
  3. Behold the notices :)

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions