[wp-trac] [WordPress Trac] #64680: Increase PHPStan rule level from zero

WordPress Trac noreply at wordpress.org
Fri Feb 20 19:03:01 UTC 2026


#64680: Increase PHPStan rule level from zero
------------------------------+-----------------------
 Reporter:  westonruter       |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  7.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
  Focuses:                    |
------------------------------+-----------------------
 PHPStan is now integrated into the core development workflow as of #61175.
 The initial commit (r61699), however, set the [https://phpstan.org/user-
 guide/rule-levels rule level] to 0 (zero).

 That ticket initially had a [https://github.com/WordPress/wordpress-
 develop/pull/7619 PR] which set the rule level to 6, with initial
 baselines to ignore existing errors but to catch new ones as they are
 introduced.

 We can now move forward with that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64680>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list