[wp-trac] [WordPress Trac] #64238: PHPStan code quality improvements for 7.0

WordPress Trac noreply at wordpress.org
Fri Feb 27 23:17:28 UTC 2026


#64238: PHPStan code quality improvements for 7.0
--------------------------------------+-------------------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  7.0
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  coding-standards
--------------------------------------+-------------------------------

Comment (by westonruter):

 In [changeset:"61767" 61767]:
 {{{
 #!CommitTicketReference repository="" revision="61767"
 Code Quality: Replace `void` with `null` in union return types in
 Customizer classes.

 Developed in https://github.com/WordPress/wordpress-develop/pull/11006

 Follow-up to r61766, r61719, r61716.

 Props apermo, xate, mukesh27.
 See #64238.
 Fixes #64701.
 }}}

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


More information about the wp-trac mailing list