Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and docs standards #162

Merged
merged 3 commits into from Jan 28, 2020
Merged

Fix typo and docs standards #162

merged 3 commits into from Jan 28, 2020

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

@@ -902,7 +902,7 @@ public function size( $args, $assoc_args ) {
if ( ! defined( 'TB_IN_BYTES' ) ) {
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.

@@ -505,7 +505,7 @@ public function export( $args, $assoc_args ) {
} else {
// 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.

None yet

2 participants