[wp-trac] [WordPress Trac] #64221: Reclassify `json2php` as a `devDependency`

WordPress Trac noreply at wordpress.org
Tue Jan 13 05:02:06 UTC 2026


#64221: Reclassify `json2php` as a `devDependency`
--------------------------------------+------------------------
 Reporter:  desrosj                   |       Owner:  desrosj
     Type:  task (blessed)            |      Status:  reviewing
 Priority:  normal                    |   Milestone:  7.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------

Comment (by noruzzaman):

 == **Test Report**
 === **Description**
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/10520

 === **Environment**
 - WordPress: 7.0.0-alpha (trunk)
 - PHP: 8.2.x (Local environment)
 - Server: nginx (Local environment)
 - Database: mysqli
 - Browser: Chrome
 - OS: macOS 15.2
 - Theme: Twenty Twenty-Five (Default)
 - MU Plugins: None activated
 - Plugins: None


 === **Actual Results**
 ✅ json2php is correctly moved from dependencies to devDependencies in
 package.json.
 ✅ npm install successfully updates package-lock.json.
 ✅ npm run build completes without any errors.
 ✅ npx grunt copy:block-json task executes successfully, confirming the
 dependency is functional as a devDependency.

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


More information about the wp-trac mailing list