[wp-trac] [WordPress Trac] #64221: Reclassify `json2php` as a `devDependency`
WordPress Trac
noreply at wordpress.org
Mon Nov 10 15:21:47 UTC 2025
#64221: Reclassify `json2php` as a `devDependency`
------------------------------+----------------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: good-first-bug needs-patch
Focuses: |
------------------------------+----------------------------------------
It looks like `json2php` is included in the list of `dependencies`, but it
appears the package is only used within the `copy:block-json` Grunt task
to convert `block.json` file contents to a `block-json.php` equivalent.
The package is even
[https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/dependencies/scripts.php?rev=59071#L3490
explicitly excluded from the unit test] that asserts that all
`dependencies` are registered and available as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64221>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list