Make WordPress Core

Changeset 61396


Ignore:
Timestamp:
12/21/2025 11:46:29 PM (4 days ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock formatting for png:IHDR.color-type-orig property test.

Follow-up to [60246].

Props mukesh27, adamsilverstein.
See #64224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/image/editorImagick.php

    r60736 r61396  
    837837
    838838    /**
    839      * Tests that the 'png:IHDR.color-type-orig' property is preserved after resizing
     839     * Tests that the 'png:IHDR.color-type-orig' property is preserved after resizing.
    840840     * Used to identify indexed PNG images, see https://www.w3.org/TR/PNG-Chunks.html#C.IHDR.
    841841     *
    842842     * @ticket 63448
     843     *
    843844     * @dataProvider data_png_color_type_after_resize
    844845     *
    845      * @param string $file_path             Path to the image file.
    846      * @param int    $expected_color_type   The expected original color type.
     846     * @param string $file_path           Path to the image file.
     847     * @param int    $expected_color_type The expected original color type.
    847848     */
    848849    public function test_png_color_type_is_preserved_after_resize( $file_path, $expected_color_type ) {
     
    903904     *
    904905     * @ticket 63448
     906     *
    905907     * @dataProvider data_alpha_transparency_is_preserved_after_resize
    906908     *
Note: See TracChangeset for help on using the changeset viewer.