-
Notifications
You must be signed in to change notification settings - Fork 998
Fix typos and docs standards #5336
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
Conversation
@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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
php/WP_CLI/ComposerIO.php
Outdated
@@ -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. |
There was a problem hiding this comment.
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.
Update
fix typos and docs standards