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

WordPress Trac noreply at wordpress.org
Wed Oct 30 12:46:36 UTC 2024


#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):

 In https://github.com/WordPress/wordpress-
 develop/pull/7619/commits/94cf5e494a1f62055746635d16b1b84e8ee66476, I
 added `wp-includes/blocks` to the list of `excludePaths`.

 Per https://github.com/WordPress/wordpress-
 develop/blob/trunk/tools/release/sync-stable-blocks.js, this directory is
 sourced from WordPress/gutenberg (h/t @thelovekesh 🙇), so we can't
 remediate them directly.

 My understanding is that things are different in Gutenberg land, and as
 such efforts to introduce PHPStan to Gutenberg code needs to happen
 separately from this ticket.

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


More information about the wp-trac mailing list