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

WordPress Trac noreply at wordpress.org
Sat Jan 3 07:15:48 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:"61425" 61425]:
 {{{
 #!CommitTicketReference repository="" revision="61425"
 Script Loader: Simplify data structure in `wp_default_packages_vendor()`
 to facilitate static analysis.

 This resolves two PHPStan level 7 issues: `offsetAccess.notFound` and
 `argument.type`.

 Follow-up to [44114].

 See #64238, #45065.
 }}}

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


More information about the wp-trac mailing list