Skip to content

Commit

Permalink
Coding Standards: Make ignore annotation more specific in `WP_Site_…
Browse files Browse the repository at this point in the history
…Health_Auto_Updates::test_vcs_abspath()`.

Follow-up to [44986].

Props jrf, hellofromTonya.
See #53359.

git-svn-id: https://develop.svn.wordpress.org/trunk@51661 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
hellofromtonya committed Aug 26, 2021
1 parent ab0e915 commit a653725
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -226,7 +226,7 @@ public function test_vcs_abspath() {
// Search all directories we've found for evidence of version control.
foreach ( $vcs_dirs as $vcs_dir ) {
foreach ( $check_dirs as $check_dir ) {
// phpcs:ignore
// phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition,Squiz.PHP.DisallowMultipleAssignments
if ( $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) ) {
break 2;
}
Expand Down

0 comments on commit a653725

Please sign in to comment.