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

WordPress Trac noreply at wordpress.org
Fri Feb 27 23:28:33 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:"61768" 61768]:
 {{{
 #!CommitTicketReference repository="" revision="61768"
 Code Quality: Replace `void` with `null` in union return types in
 `general-template.php`.

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

 Follow-up to r61767, r61766, r61719, r61716, r53300, r32598.

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

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


More information about the wp-trac mailing list