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

WordPress Trac noreply at wordpress.org
Wed Jun 18 11:00:31 UTC 2025


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

Comment (by justlevine):

 Trunk today versus 31 May:
 https://core.trac.wordpress.org/ticket/61175#comment:28

 ||= PHPStan Level =||= Error Count =||= Changed since last =||
 || 0 || 11 || +1 ||
 || 1 || 29 || -5||
 || 2 || 514 || -11 ||
 || 3 || 134 || -51 ||
 || 4 || 219 || -45 ||
 || 5 || 498 || ||
 || 6 || 106 || -2 ||

 There's around ~400 fewer errors on the remediation branch - many due to
 the application of `@phpstan-` specific type annotations, some from fixes
 awaiting cherry-picking / PR review against #63268

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


More information about the wp-trac mailing list