mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
Editor: Update block-serialization-default-parser package for WP 6.3 Beta 1.
Update the `@wordpress/block-serialization-default-parser` to 4.35.1 for WordPress 6.3 Beta 1. These changes split the following classes in to their own files in order to match the WordPress PHP coding standards: * `WP_Block_Parser_Block` * `WP_Block_Parser_Frame` * `WP_Block_Parser` These classes were previously all included in the `src/wp-includes/class-wp-block-parser.php` file. In order to maintain backward compatibly for developers requiring the file directly, the relocated classes are replaced with `require_once` calls in the original file. In order to retain the commit history of the new files, they have been created using the `svn copy` command. Props aristath, rajanpanchal2028, jrf, SergeyBiryukov, costdev, manfcarlo, spacedmonkey, mukesh27, isabel_brison, dd32. Fixes #57832. See #58623. git-svn-id: https://develop.svn.wordpress.org/trunk@56048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+12
-1
@@ -118,7 +118,6 @@
|
||||
<exclude-pattern>/src/wp-includes/class-requests\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/class-simplepie\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/class-snoopy\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/deprecated\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/ms-deprecated\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/pluggable-deprecated\.php</exclude-pattern>
|
||||
@@ -187,6 +186,18 @@
|
||||
<exclude-pattern>/tests/phpunit/tests/multisite/site\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- Allow non-snake-case vars & properties for block-related classes. -->
|
||||
<rule ref="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase">
|
||||
<exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase">
|
||||
<exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
|
||||
</rule>
|
||||
<rule ref="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase">
|
||||
<exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- Allow the I18n functions file for issues identified by the I18n sniff
|
||||
(such as calling the low-level translate() function). -->
|
||||
<rule ref="WordPress.WP.I18n">
|
||||
|
||||
Reference in New Issue
Block a user