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

WordPress Trac noreply at wordpress.org
Wed Mar 4 20:40:50 UTC 2026


#61175: Integrate PHPStan into the core development workflow
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
                                                 |  westonruter
     Type:  task (blessed)                       |      Status:  closed
 Priority:  normal                               |   Milestone:  7.0
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"61830" 61830]:
 {{{
 #!CommitTicketReference repository="" revision="61830"
 Build/Test Tools: Integrate TypeScript into the core development workflow.

 This introduces a new GitHub Action workflow for JavaScript type checking,
 mirroring the implementation for PHPStan in #61175. It also adds a
 `typecheck:js` Grunt task and includes it in the `precommit:js` task list.
 Only files related to the code editor are initially checked with
 TypeScript, with the expectation that additional files will be added to
 the `files` list in `tsconfig.json` as a part of ongoing maintenance work,
 for example #64238 and #64226.

 Developed in https://github.com/WordPress/wordpress-develop/pull/11131

 Follow up to r61699, r61800, r61539.

 Props westonruter, jonsurrell.
 See #61175, #64661, #48456.
 Fixes #64662.
 }}}

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


More information about the wp-trac mailing list