Make WordPress Core


Ignore:
Timestamp:
02/14/2023 04:10:13 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Tests: Merge file-level and class-level DocBlocks in various unit test files.

Per the documentation 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 [40607], [43183], [43291], [43292], [43499], [43568], [44502], [44535], [44628], [44786], [44824], [44906], [44909], [46175].

Props wojtekn, antonvlasenko, arafatjamil01, hztyfoon, mukesh27, costdev, jamilbd07, robinwpdeveloper, SergeyBiryukov.
Fixes #57099.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/wpCommunityEvents.php

    r54075 r55337  
    66 * @subpackage UnitTests
    77 * @since 4.8.0
    8  */
    9 
    10 /**
    11  * Class Tests_Admin_wpCommunityEvents.
    128 *
    139 * @group admin
    1410 * @group community-events
    15  *
    16  * @since 4.8.0
    1711 */
    1812class Tests_Admin_wpCommunityEvents extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.