Skip to content

Conversation

@trepmal
Copy link
Contributor

@trepmal trepmal commented Jun 26, 2021

This PR also removes the PHPUnit setup since I do not expect it will be added in the future.

As the VIP infrastructure no longer relies on Batcache, this is unlikely to be maintained. The aim here is just to leave the plugin in a clean state.

return static::get_group_for( $name ) == $group;
}
}
if ( ! class_exists( 'CheezTest' ) ) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried avoiding the class_exists check, but without it I get stuck with the "Missing file doc comment (Squiz.Commenting.FileComment.Missing)" PHPCS feedback. Not sure if a bug in the sniff.

@trepmal trepmal requested a review from GaryJones June 26, 2021 02:22
Copy link

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

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

Approved, but with one optional suggestion.

# continue-on-error: true
# run: vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
- name: Check PHP code style
continue-on-error: true

Choose a reason for hiding this comment

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

As this solves all CS violations, then I would remove this line, so that any changes (either from adjusted code, or fresher versions of PHPCS-related dependencies) get highlighted.

Suggested change
continue-on-error: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants