Skip to content

Optional parameter deprecation notices in PHP 8 #578

Open

Description

@iandunn
> wp plugin list
Deprecated: Optional parameter $formdata declared before required parameter $nonce is implicitly treated as a required parameter in wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php on line 65
Deprecated: Optional parameter $file declared before required parameter $args is implicitly treated as a required parameter in wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Cron.php on line 24
+----------------------------------+----------+--------+---------+
| name                             | status   | update | version |
+----------------------------------+----------+--------+---------+
| posts-to-posts                   | active   | none   | 1.7     |

https://php.watch/versions/8.0/deprecate-required-param-after-optional

Related #576

Activity

  1. hirasso commented on Sep 21, 2022

    @hirasso

    These deprecations are actually inside scb-framework, this plugin depends on.

    I created a PR to fix them over there. As soon as that is merged, we can update the composer version of scb-framework for wp-posts-to-posts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions