[wp-trac] [WordPress Trac] #61175: Integrate PHPStan into the core development workflow

WordPress Trac noreply at wordpress.org
Tue Jul 8 21:41:56 UTC 2025


#61175: Integrate PHPStan into the core development workflow
--------------------------------------+-------------------------
 Reporter:  westonruter               |       Owner:  justlevine
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.9
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by justlevine):

 PHPStan has been bumped to v2.x to align with the PHP7.4 bump in #62622
 cc: @johnbillion

 Trunk today vs [https://core.trac.wordpress.org/ticket/61175#comment:32 18
 June]:

 ||= PHPStan Level =||= Error Count =||= Changed since last =||
 || 0 || 13 || +2 ||
 || 1 || 22 || -7 ||
 || 2 || 320 || -194 ||
 || 3 || 164 || +30 ||
 || 4 || 243 || +24 ||
 || 5 || 528 || +30 ||
 || 6 || 106 || ||

 As you can see, most of it is a distribution from Level 2 to higher levels
 thanks to improvements to PHPStan, while progress continues to be made
 independently via #63268

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


More information about the wp-trac mailing list