wordpress-develop/tools
Jonathan Desrosiers f96d9ade2d Build/Test Tools: Use require_once instead of require.
The `sync-stable-blocks.js` file is used to compile the contents of `require-dynamic-blocks.php`, which includes the PHP files required for dynamic Core blocks.

Since these files define PHP functions, `require_once` should be used instead of `require` to guard against fatal errors.

Follow up to [53688].

Props aristath, SergeyBiryukov, desrosj.
Fixes #56738. See #56179.

git-svn-id: https://develop.svn.wordpress.org/trunk@54406 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-07 01:56:31 +00:00
..
local-env Build/Test Tools: Remove extraneous -- from docker-compose up command. 2022-09-28 21:54:46 +00:00
release Build/Test Tools: Use require_once instead of require. 2022-10-07 01:56:31 +00:00
webpack Tools: Simplify syncing core blocks from Gutenberg plugin to Core 2022-09-26 11:40:44 +00:00