Make WordPress Core


Ignore:
Timestamp:
03/03/2023 02:42:42 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Tests: Second pass at merging file-level and class-level DocBlocks in various unit test files.

Per thedocumentation standards, whenever possible, all WordPress files should contain a header DocBlock, regardless of the file’s contents – this includes files containing classes.

However, this recommendation makes less sense for unit test classes if not applied consistently, and the duplicate tags cause some confusion.

This commit aims to reduce confusion and avoid repeating information by combining the DocBlocks.

Follow-up to [55337].

Props sakibmd, fuadragib, robinwpdeveloper, naeemhaque, seakashdiu, jakariaistauk, hasanmisbah, SergeyBiryukov.
Fixes #57723.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-widget-types-controller.php

    r54891 r55457  
    66 * @subpackage REST_API
    77 * @since 5.8.0
    8  */
    9 
    10 /**
    11  * Tests for WP_REST_Widget_Types_Controller.
    128 *
    13  * @since 5.8.0
     9 * @covers WP_REST_Widget_Types_Controller
    1410 *
    1511 * @see WP_TEST_REST_Controller_Testcase
    1612 * @group restapi
    17  * @covers WP_REST_Widget_Types_Controller
     13 * @group widgets
    1814 */
    1915class WP_Test_REST_Widget_Types_Controller extends WP_Test_REST_Controller_Testcase {
Note: See TracChangeset for help on using the changeset viewer.