diff --git a/src/wp-includes/class-wp-block-patterns-registry.php b/src/wp-includes/class-wp-block-patterns-registry.php index b7512d8121..18554f8b04 100644 --- a/src/wp-includes/class-wp-block-patterns-registry.php +++ b/src/wp-includes/class-wp-block-patterns-registry.php @@ -33,7 +33,8 @@ final class WP_Block_Patterns_Registry { * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. - * @param array $pattern_properties Array containing the properties of the pattern: title, content, description, viewportWidth, categories, keywords. + * @param array $pattern_properties Array containing the properties of the pattern: title, + * content, description, viewportWidth, categories, keywords. * @return bool True if the pattern was registered with success and false otherwise. */ public function register( $pattern_name, $pattern_properties ) { diff --git a/tests/phpunit/tests/rest-api.php b/tests/phpunit/tests/rest-api.php index 7a27471b2f..789c4e19b3 100644 --- a/tests/phpunit/tests/rest-api.php +++ b/tests/phpunit/tests/rest-api.php @@ -1460,8 +1460,10 @@ class Tests_REST_API extends WP_UnitTestCase { } /** - * @dataProvider _dp_rest_is_object * @ticket 50300 + * + * @dataProvider _dp_rest_is_object + * * @param bool $expected Expected result of the check. * @param mixed $value The value to check. */ @@ -1521,8 +1523,10 @@ class Tests_REST_API extends WP_UnitTestCase { } /** + * @ticket 50300 + * * @dataProvider _dp_rest_sanitize_object - * @ticket 50300 + * * @param array $expected Expected sanitized version. * @param mixed $value The value to sanitize. */ @@ -1577,8 +1581,10 @@ class Tests_REST_API extends WP_UnitTestCase { } /** - * @dataProvider _dp_rest_is_array * @ticket 50300 + * + * @dataProvider _dp_rest_is_array + * * @param bool $expected Expected result of the check. * @param mixed $value The value to check. */ @@ -1646,8 +1652,10 @@ class Tests_REST_API extends WP_UnitTestCase { } /** + * @ticket 50300 + * * @dataProvider _dp_rest_sanitize_array - * @ticket 50300 + * * @param array $expected Expected sanitized version. * @param mixed $value The value to sanitize. */ @@ -1714,8 +1722,10 @@ class Tests_REST_API extends WP_UnitTestCase { } /** - * @dataProvider _dp_get_best_type_for_value * @ticket 50300 + * + * @dataProvider _dp_get_best_type_for_value + * * @param string $expected The expected best type. * @param mixed $value The value to test. * @param array $types The list of available types. diff --git a/tests/phpunit/tests/rest-api/rest-schema-validation.php b/tests/phpunit/tests/rest-api/rest-schema-validation.php index 7621205504..b31b86bb19 100644 --- a/tests/phpunit/tests/rest-api/rest-schema-validation.php +++ b/tests/phpunit/tests/rest-api/rest-schema-validation.php @@ -507,7 +507,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_property */ @@ -535,7 +535,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_property */ @@ -577,7 +577,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_nested_property */ @@ -610,7 +610,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_nested_property */ @@ -669,7 +669,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_deeply_nested_property */ @@ -709,7 +709,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_deeply_nested_property */ @@ -749,7 +749,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48818 + * @ticket 48818 * * @dataProvider data_required_deeply_nested_property */ @@ -907,7 +907,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase { } /** - * @ticket 48821 + * @ticket 48821 * * @dataProvider data_unique_items */