Make WordPress Core


Ignore:
Timestamp:
09/28/2023 12:02:47 AM (20 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations.

This removes ignore annotations which are ignoring an error which would not be thrown for that code.

Includes tidying up the format of the ignore annotation:

  • Customary one space between the // and the start of the comment.
  • There should be no spaces in the comma-separated sniff list.

Follow-up to [45607], [47185], [49200], [53152].

Props jrf.
See #59161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db/dbDelta.php

    r56548 r56738  
    6969                "
    7070                CREATE TABLE {$wpdb->prefix}dbdelta_test (" .
    71                     // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
    7271                    'id bigint(20) NOT NULL AUTO_INCREMENT,
    7372                    column_1 varchar(255) NOT NULL,
Note: See TracChangeset for help on using the changeset viewer.