Make WordPress Core

Changeset 51661


Ignore:
Timestamp:
08/26/2021 01:58:32 PM (3 years ago)
Author:
hellofromTonya
Message:

Coding Standards: Make ignore annotation more specific in WP_Site_Health_Auto_Updates::test_vcs_abspath().

Follow-up to [44986].

Props jrf, hellofromTonya.
See #53359.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r51657 r51661  
    227227        foreach ( $vcs_dirs as $vcs_dir ) {
    228228            foreach ( $check_dirs as $check_dir ) {
    229                 // phpcs:ignore
     229                // phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition,Squiz.PHP.DisallowMultipleAssignments
    230230                if ( $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) ) {
    231231                    break 2;
Note: See TracChangeset for help on using the changeset viewer.