Make WordPress Core


Ignore:
Timestamp:
03/03/2023 02:42:42 PM (2 years 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/load/wpDebugMode.php

    r51358 r55457  
    77 * @subpackage UnitTests
    88 * @since 5.9.0
    9  */
    10 
    11 /**
    12  * Class Test_WP_Debug_Mode.
    139 *
    1410 * @group load.php
    1511 * @group wp-debug-mode
    1612 * @covers ::wp_debug_mode
    17  *
    18  * @since 5.9.0
    1913 */
    2014class Test_WP_Debug_Mode extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.