Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix typos and docs standards#5336

Merged
schlessera merged 4 commits into
wp-cli:masterwp-cli/wp-cli:masterfrom
akkspros:akksprosakkspros/wp-cli-1:akksprosCopy head branch name to clipboard
Apr 7, 2020
Merged

Fix typos and docs standards#5336
schlessera merged 4 commits into
wp-cli:masterwp-cli/wp-cli:masterfrom
akkspros:akksprosakkspros/wp-cli-1:akksprosCopy head branch name to clipboard

Conversation

@akkspros

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@schlessera can you check this please

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
Copy Markdown
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.

*
*/
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
Copy Markdown
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.

Comment thread php/WP_CLI/ComposerIO.php Outdated
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
Copy Markdown
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 added the scope:documentation Related to documentation label 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

Labels

scope:documentation Related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.