[wp-trac] [WordPress Trac] #51423: Fix function argument type issues reported by PHPStan

WordPress Trac noreply at wordpress.org
Wed Sep 30 19:00:10 UTC 2020


#51423: Fix function argument type issues reported by PHPStan
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  5.6
Component:  General           |    Version:
 Severity:  normal            |   Keywords:  php8
  Focuses:  coding-standards  |
------------------------------+--------------------
 Background: #50913

 Splitting this out from comment:44:ticket:50913. @xknown is going through
 some [https://github.com/WordPress/wordpress-develop/pull/553 issues
 reported by PHPStan], mostly in places where we are passing the incorrect
 type to WP core or PHP's built-in functions.

 Let's use this ticket to include these fixes in core.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51423>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list