Make WordPress Core


Ignore:
Timestamp:
02/14/2023 04:10:13 PM (22 months 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/wpPrivacyDeleteOldExportFiles.php

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