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

WordPress Trac noreply at wordpress.org
Tue Feb 21 13:53:31 UTC 2023


#51423: Fix function argument type issues reported by PHPStan
-------------------------------------------+-------------------------------
 Reporter:  SergeyBiryukov                 |       Owner:  hellofromTonya
     Type:  task (blessed)                 |      Status:  closed
 Priority:  normal                         |   Milestone:  6.2
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:  coding-standards
-------------------------------------------+-------------------------------
Changes (by hellofromTonya):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 I've opened #57782 to continue this work in the 6.3 cycle.

 Why a new ticket?
 It's difficult to ascertain the current state and scope of what needs to
 be fixed vs what's a false report. A new ticket offers:

 * a way forward to continue the work started in this ticket with a focus
 on first assessing the current state of `trunk` with the knowledge gained
 from the work done here.
 * improved tracking of fixes needed.

 Given that 6.2 RC1 is fast approaching, a new PHPStan report is needed to
 scope fixes, and there's been no work done in this ticket since 5.9, I'm
 closing this ticket. Work will restart with focused effort in #57782.

 Thank you everyone for your contributions! I invite you to join the
 continued effort in #57782. If someone has time, a good starting point is
 to rerun the PHPStan report and share it in #57782.

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


More information about the wp-trac mailing list