mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab0e915f40
commit
a653725b56
@ -226,7 +226,7 @@ class WP_Site_Health_Auto_Updates {
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user