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/privacy/wpPrivacySendRequestConfirmationNotification.php

    r54090 r55337  
    66 * @subpackage UnitTests
    77 * @since 4.9.8
    8  */
    9 
    10 /**
    11  * Tests_Privacy_wpPrivacySendRequestConfirmationNotification class.
    128 *
    139 * @group privacy
    1410 * @group user
    1511 * @covers ::_wp_privacy_send_request_confirmation_notification
    16  *
    17  * @since 4.9.8
    1812 */
    1913class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.