Make WordPress Core


Ignore:
Timestamp:
03/03/2023 02:42:42 PM (19 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/customize/selective-refresh-ajax.php

    r54402 r55457  
    11<?php
    2 /**
    3  * WP_Customize_Selective_Refresh Ajax tests.
    4  *
    5  * @package    WordPress
    6  * @subpackage UnitTests
    7  */
    8 
    92/**
    103 * Tests for the WP_Customize_Selective_Refresh class Ajax.
     
    136 * is not admin ajax.
    147 *
    15  * @since      4.5.0
    16  * @group      ajax
     8 * @package WordPress
     9 * @subpackage UnitTests
     10 * @since 4.5.0
     11 *
     12 * @group ajax
    1713 */
    1814class Test_WP_Customize_Selective_Refresh_Ajax extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.