Skip to content

Conversation

akkspros
Copy link
Contributor

fix typo and docs standards

@akkspros akkspros requested a review from a team as a code owner January 18, 2020 02:43
@akkspros
Copy link
Contributor Author

@schlessera can you check this please

define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
}
// phpcs:enable
// phpcs:enable.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPCodeSniffer directives shouldn't end in a comma. Please revert this change.

// phpcs:ignore WordPress.WP.AlternativeFunctions.rand_mt_rand -- WordPress is not loaded.
$hash = substr( md5( mt_rand() ), 0, 7 );
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPCodeSniffer directives shouldn't end in a comma. Please revert this change.

@schlessera schlessera added this to the 2.0.6 milestone Jan 28, 2020
@schlessera schlessera changed the title fix typo and docs standards Fix typo and docs standards Jan 28, 2020
@schlessera schlessera merged commit 8e3cd46 into wp-cli:master Jan 28, 2020
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
fix typo and docs standards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants