Skip to content

Commit b11f5e3

Browse files
committed
Satisfy PHPCS
1 parent 3560b97 commit b11f5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public function export( $args, $assoc_args ) {
467467
} else {
468468
// phpcs:ignore WordPress.WP.AlternativeFunctions.rand_mt_rand -- WordPress is not loaded.
469469
$hash = substr( md5( mt_rand() ), 0, 7 );
470-
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash );
470+
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
471471

472472
}
473473
$stdout = ( '-' === $result_file );

0 commit comments

Comments
 (0)