wordpress-develop/tests/phpunit/tests/theme
Sergey Biryukov 1bd3cac151 Tests: Correct two @covers annotations to use the recommended pattern.
When global functions are covered, they need to be prefixed with `::` (double colon) to distinguish them from class name.

Reference: [https://docs.phpunit.de/en/10.3/annotations.html#covers PHPUnit Manual: @covers annotation].

Follow-up to [48848], [49305], [53741], [56296].

Props ayeshrajans.
Fixes #59069.

git-svn-id: https://develop.svn.wordpress.org/trunk@56384 602fd350-edb4-49c9-b593-d223f7449a82
2023-08-11 11:17:40 +00:00
..
base.php Editor: Ensure global styles are rendered for third-party blocks. 2022-10-27 15:39:20 +00:00
customHeader.php Tests: Correct two @covers annotations to use the recommended pattern. 2023-08-11 11:17:40 +00:00
getThemeStarterContent.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
support.php Themes: Correct the logic for displaying a _doing_it_wrong() notice for add_theme_support( 'html5' ). 2022-03-07 14:42:49 +00:00
themeDir.php REST API: Support non-Latin characters in template route regex. 2023-02-07 23:45:18 +00:00
wpAddGlobalStylesForBlocks.php Editor: Fix bug where it was not possible to style custom block elements in theme.json. 2023-07-18 00:00:49 +00:00
wpEnqueueStoredStyles.php Tests: Add test class for wp_enqueue_stored_styles(). 2023-03-20 18:20:05 +00:00
wpGetBlockCssSelector.php Editor: refactor and stabilize selectors API. 2023-06-27 08:46:45 +00:00
wpGetGlobalStylesheet.php General: Introduce WP_DEVELOPMENT_MODE constant to signify context-specific development mode. 2023-06-26 19:55:28 +00:00
wpTheme.php Themes: Account for a numeric theme directory in WP_Theme::__construct(). 2023-02-27 15:32:22 +00:00
wpThemeGetAllowedFilters.php Tests: Use more appropriate assertions in various tests. 2021-07-07 10:32:56 +00:00
wpThemeHasThemeJson.php Themes: Introduce wp_theme_has_theme_json() for public consumption. 2023-01-18 11:38:16 +00:00
wpThemeJson.php Editor: update duotone support. 2023-06-29 06:19:41 +00:00
wpThemeJsonResolver.php General: Use static on closures whenever $this is not used to avoid memory leaks. 2023-05-17 22:44:21 +00:00
wpThemeJsonSchema.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00