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/link/getThePrivacyPolicyLink.php

    r55261 r55457  
    11<?php
    22/**
    3  * Define a class to test the `get_the_privacy_policy_link()` function.
     3 * Test cases for the `get_the_privacy_policy_link()` function.
    44 *
    55 * @package WordPress
    66 * @subpackage UnitTests
    77 * @since 4.9.6
    8  */
    9 
    10 /**
    11  * Test cases for the `get_the_privacy_policy_link()` function.
    128 *
    139 * @group link
    1410 * @group privacy
    1511 * @covers ::get_the_privacy_policy_link
    16  *
    17  * @since 4.9.6
    1812 */
    1913class Tests_Link_GetThePrivacyPolicyLink extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.