Skip to content

Commit 067d5f9

Browse files
authored
Add preliminary PHP 7.4 testing (#154)
Add preliminary PHP 7.4 testing
2 parents 3459f67 + 9c7ac9f commit 067d5f9

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)