Skip to content

Conversation

akkspros
Copy link
Contributor

fix typos and docs standards

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

@schlessera can you check this please

@@ -2,7 +2,7 @@

namespace WP_CLI\Compat;

// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound,Generic.Classes.DuplicateClassName.Found
// phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound,Generic.Classes.DuplicateClassName.Found.
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.

@@ -9,7 +9,7 @@ trait FeedbackMethodTrait {
* @param mixed ...$args Optional text replacements.
*
*/
public function feedback( $string, ...$args ) { // phpcs:ignore PHPCompatibility.LanguageConstructs.NewLanguageConstructs.t_ellipsisFound
public function feedback( $string, ...$args ) { // phpcs:ignore PHPCompatibility.LanguageConstructs.NewLanguageConstructs.t_ellipsisFound.
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.

@@ -33,7 +33,7 @@ public function writeError( $messages, $newline = true, $verbosity = self::NORMA

private static function output_clean_message( $message ) {
$message = preg_replace( '#<(https?)([^>]+)>#', '$1$2', $message );
// phpcs:ignore WordPress.WP.AlternativeFunctions.strip_tags_strip_tags
// phpcs:ignore WordPress.WP.AlternativeFunctions.strip_tags_strip_tags.
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.5.0 milestone Jan 28, 2020
@schlessera schlessera merged commit 4bf7850 into wp-cli:master Apr 7, 2020
@schlessera schlessera changed the title fix typos and docs standards Fix typos and docs standards Apr 7, 2020
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