Make WordPress Core


Ignore:
Timestamp:
09/29/2023 12:19:29 PM (14 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations, take 2.

This removes ignore annotations which are unnecessary due to the configuration in the phpcs.xml.dist ruleset already taking care of this.

Follow-up to [45611], [50146], [50148], [50586], [50822], [56738].

Props jrf.
See #59161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r56695 r56743  
    783783                $iptc = iptcparse( $info['APP13'] );
    784784            } else {
    785                 // phpcs:ignore WordPress.PHP.NoSilencedErrors -- Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480
     785                // Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480
    786786                $iptc = @iptcparse( $info['APP13'] );
    787787            }
     
    856856            $exif = exif_read_data( $file );
    857857        } else {
    858             // phpcs:ignore WordPress.PHP.NoSilencedErrors -- Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480
     858            // Silencing notice and warning is intentional. See https://core.trac.wordpress.org/ticket/42480
    859859            $exif = @exif_read_data( $file );
    860860        }
Note: See TracChangeset for help on using the changeset viewer.