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

WordPress Trac noreply at wordpress.org
Sat Apr 12 09:48:34 UTC 2025


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

Comment (by justlevine):

 Was suggested I post stats whenever I rebase https://github.com/WordPress
 /wordpress-develop/pull/7619 on `trunk`, to provide a relative metric of
 both how much we're remediating and how much continues to slip in without
 PHPStan.


 As of 12 April 2025 (based on https://github.com/WordPress/wordpress-
 develop/commit/4ce25a5b915ce4409fb6339b8b1ce46fc10aeb0a )

 (Previous rebase: 21 Feb 25 https://github.com/WordPress/wordpress-
 develop/commit/165d803380c561f39caeb0cbdc44f5c06c988cba )


 ||= PHPStan Level =||= Error Count =||= New Errors =||= Remediated =||
 || 0 || 14 || - || - ||
 || 1 || 65 || - || 5 ||
 || 2 || 326 || 1 || 2 ||
 || 3 || 195 || - || 5 ||
 || 4 || 985 || 1 || 6 ||
 || 5 || 557 || 5 || 8 ||
 || 6 || 2134 || 0 || 3 ||

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


More information about the wp-trac mailing list