Skip to content

Conversation

@wojsmol
Copy link
Contributor

@wojsmol wojsmol commented Apr 21, 2019

Add a PHPCS ruleset using the new WP_CLI_CS standard.

Fixes #53

Related wp-cli/wp-cli#5179

@wojsmol wojsmol requested a review from a team as a code owner April 21, 2019 02:57
schlessera and others added 10 commits April 21, 2019 06:41
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Copy link
Member

@schlessera schlessera left a comment

Choose a reason for hiding this comment

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

There's another \WP_CLI\Utils\extract_from_phar() in line 94 that you can simplify through the import.

Copy link
Member

@schlessera schlessera left a comment

Choose a reason for hiding this comment

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

LGTM, just two minor whitespace issues and then we can merge.

schlessera and others added 2 commits April 21, 2019 11:35
Co-Authored-By: wojsmol <wojsmol@wp.pl>
Co-Authored-By: wojsmol <wojsmol@wp.pl>
@schlessera schlessera added this to the 2.0.2 milestone Apr 21, 2019
@schlessera schlessera merged commit c900a10 into wp-cli:master Apr 21, 2019
@wojsmol wojsmol deleted the use-wp-cli-cs branch April 21, 2019 10:03
schlessera added a commit that referenced this pull request Jan 5, 2022
Implement CS checking based on the `WP_CLI_CS` ruleset
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.

Adopt and enforce new WP_CLI_CS standard

2 participants