Commit 72ca595c84 for wordpress.org
commit 72ca595c8400c8c89b2a97ce4b4538c868f727f6
Author: lancewillett <lancewillett@git.wordpress.org>
Date: Tue Sep 22 23:40:47 2026 +0000
Build/Test Tools: Format the copied Gutenberg style registry.
Align array assignment operators and normalize dependency array spacing when copying the generated style registry into Core. This allows PHPCS scans after build:dev to pass without requiring PHP tooling in build-only jobs.
Developed in: https://github.com/WordPress/wordpress-develop/pull/12778
Props benitoalba, desrosj, jorbin, wildworks.
See #65278.
Built from https://develop.svn.wordpress.org/trunk@63883
git-svn-id: http://core.svn.wordpress.org/trunk@63055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/css/dist/registry.php b/wp-includes/css/dist/registry.php
index b4a7e37063..32559e1232 100644
--- a/wp-includes/css/dist/registry.php
+++ b/wp-includes/css/dist/registry.php
@@ -8,103 +8,103 @@
return array(
array(
- 'handle' => 'wp-block-directory',
- 'path' => 'block-directory/style',
- 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-notices'),
+ 'handle' => 'wp-block-directory',
+ 'path' => 'block-directory/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-notices' ),
),
array(
- 'handle' => 'wp-block-editor',
- 'path' => 'block-editor/style',
- 'dependencies' => array('wp-commands', 'wp-components', 'wp-notices', 'wp-preferences'),
+ 'handle' => 'wp-block-editor',
+ 'path' => 'block-editor/style',
+ 'dependencies' => array( 'wp-commands', 'wp-components', 'wp-notices', 'wp-preferences' ),
),
array(
- 'handle' => 'wp-block-library',
- 'path' => 'block-library/style',
- 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices', 'wp-patterns'),
+ 'handle' => 'wp-block-library',
+ 'path' => 'block-library/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices', 'wp-patterns' ),
),
array(
- 'handle' => 'wp-commands',
- 'path' => 'commands/style',
- 'dependencies' => array('wp-components', 'wp-preferences'),
+ 'handle' => 'wp-commands',
+ 'path' => 'commands/style',
+ 'dependencies' => array( 'wp-components', 'wp-preferences' ),
),
array(
- 'handle' => 'wp-components',
- 'path' => 'components/style',
+ 'handle' => 'wp-components',
+ 'path' => 'components/style',
'dependencies' => array(),
),
array(
- 'handle' => 'wp-core-data',
- 'path' => 'core-data/style',
- 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-notices'),
+ 'handle' => 'wp-core-data',
+ 'path' => 'core-data/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components', 'wp-notices' ),
),
array(
- 'handle' => 'wp-customize-widgets',
- 'path' => 'customize-widgets/style',
- 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-preferences', 'wp-widgets'),
+ 'handle' => 'wp-customize-widgets',
+ 'path' => 'customize-widgets/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-preferences', 'wp-widgets' ),
),
array(
- 'handle' => 'wp-edit-post',
- 'path' => 'edit-post/style',
- 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-notices', 'wp-preferences', 'wp-widgets'),
+ 'handle' => 'wp-edit-post',
+ 'path' => 'edit-post/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-notices', 'wp-preferences', 'wp-widgets' ),
),
array(
- 'handle' => 'wp-edit-site',
- 'path' => 'edit-site/style',
- 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences', 'wp-widgets'),
+ 'handle' => 'wp-edit-site',
+ 'path' => 'edit-site/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-editor', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences', 'wp-widgets' ),
),
array(
- 'handle' => 'wp-edit-widgets',
- 'path' => 'edit-widgets/style',
- 'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences', 'wp-widgets'),
+ 'handle' => 'wp-edit-widgets',
+ 'path' => 'edit-widgets/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences', 'wp-widgets' ),
),
array(
- 'handle' => 'wp-editor',
- 'path' => 'editor/style',
- 'dependencies' => array('wp-block-editor', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences'),
+ 'handle' => 'wp-editor',
+ 'path' => 'editor/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-commands', 'wp-components', 'wp-core-data', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-preferences' ),
),
array(
- 'handle' => 'wp-format-library',
- 'path' => 'format-library/style',
- 'dependencies' => array('wp-block-editor', 'wp-components'),
+ 'handle' => 'wp-format-library',
+ 'path' => 'format-library/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components' ),
),
array(
- 'handle' => 'wp-list-reusable-blocks',
- 'path' => 'list-reusable-blocks/style',
- 'dependencies' => array('wp-components'),
+ 'handle' => 'wp-list-reusable-blocks',
+ 'path' => 'list-reusable-blocks/style',
+ 'dependencies' => array( 'wp-components' ),
),
array(
- 'handle' => 'wp-media-utils',
- 'path' => 'media-utils/style',
- 'dependencies' => array('wp-components', 'wp-core-data', 'wp-notices', 'wp-preferences'),
+ 'handle' => 'wp-media-utils',
+ 'path' => 'media-utils/style',
+ 'dependencies' => array( 'wp-components', 'wp-core-data', 'wp-notices', 'wp-preferences' ),
),
array(
- 'handle' => 'wp-notices',
- 'path' => 'notices/style',
- 'dependencies' => array('wp-components'),
+ 'handle' => 'wp-notices',
+ 'path' => 'notices/style',
+ 'dependencies' => array( 'wp-components' ),
),
array(
- 'handle' => 'wp-nux',
- 'path' => 'nux/style',
+ 'handle' => 'wp-nux',
+ 'path' => 'nux/style',
'dependencies' => array(),
),
array(
- 'handle' => 'wp-patterns',
- 'path' => 'patterns/style',
- 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices'),
+ 'handle' => 'wp-patterns',
+ 'path' => 'patterns/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices' ),
),
array(
- 'handle' => 'wp-preferences',
- 'path' => 'preferences/style',
- 'dependencies' => array('wp-components'),
+ 'handle' => 'wp-preferences',
+ 'path' => 'preferences/style',
+ 'dependencies' => array( 'wp-components' ),
),
array(
- 'handle' => 'wp-reusable-blocks',
- 'path' => 'reusable-blocks/style',
+ 'handle' => 'wp-reusable-blocks',
+ 'path' => 'reusable-blocks/style',
'dependencies' => array(),
),
array(
- 'handle' => 'wp-widgets',
- 'path' => 'widgets/style',
- 'dependencies' => array('wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices'),
+ 'handle' => 'wp-widgets',
+ 'path' => 'widgets/style',
+ 'dependencies' => array( 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-notices' ),
),
);
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 6fb3b9cfa7..f9eadd9341 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63882';
+$wp_version = '7.2-alpha-63883';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.