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

WordPress Trac noreply at wordpress.org
Fri Dec 5 15:02:50 UTC 2025


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

Comment (by SirLouen):

 Replying to [comment:54 joehoyle]:
 > I assume one reason the current style was adopted is because each array
 key can have a human readable description-- I'm not sure if the
 phpstan/psalm/etc format has a way to do that.

 The real reason of this outdated syntax is that the
 [https://github.com/WordPress/phpdoc-parser/pull/247 phpdoc-parser is
 omega-outdated] and won't be able to parse anything more recent.

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


More information about the wp-trac mailing list