[wp-trac] [WordPress Trac] #51553: PHP 8.0: code improvements to allow for named parameters in function calls

WordPress Trac noreply at wordpress.org
Fri Jun 18 18:39:44 UTC 2021


#51553: PHP 8.0: code improvements to allow for named parameters in function calls
-------------------------------------------------+-------------------------
 Reporter:  jrf                                  |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php8 has-patch 2nd-opinion dev-      |     Focuses:  coding-
  feedback needs-docs needs-codex                |  standards
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 During today's pair programming session, @jrf and I did a deep review of
 [https://github.com/WordPress/wordpress-develop/pull/612 PR 612] with
 Juliette updating items.

 Next step for this PR for is to audit the current code against this PR (as
 it was originally created last fall) for the following:

 - Any newly introduced classes that are extending from the parent, i.e.
 auditing for parameter name and/or type mismatch(es)
 - Any code changes within the PR's methods where the original parameter is
 being used, i.e. and the renamed parameter is not be assigned to the
 original

 We plan to tackle this in our next pair programming session.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51553#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list