mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Tests: Correct a number of invalid @covers
tags.
This resolves a few warnings when running PHPUnit with the code coverage report: {{{ "@covers WP_Privacy_Requests_List_Table::get_views" is invalid "@covers WP_Block_Bindings_Registry::register_block_bindings_source" is invalid "@covers WP_Block_Patterns_Registry::_register_theme_block_patterns" is invalid }}} The two removed `@coversDefaultClass` annotations are redundant, as the class name is already included in the individual `@covers` tags. Removing them allows `@covers ::_register_theme_block_patterns` to work as expected, where `_register_theme_block_patterns` is an standalone function, not a class method. Follow-up to [54215], [56733], [57373], [57562]. See #60705. Built from https://develop.svn.wordpress.org/trunk@58176 git-svn-id: http://core.svn.wordpress.org/trunk@57639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1251cb8c5e
commit
22aa7cb48a
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-alpha-58175';
|
$wp_version = '6.6-alpha-58176';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user