Yoast / duplicate-post

Yoast Duplicate Post plugin for WordPress
https://yoast.com
GNU General Public License v2.0
46 stars 36 forks source link

Composer: implement CS menu and extra commands #348

Closed jrfnl closed 8 months ago

jrfnl commented 8 months ago

Context

Summary

This PR can be summarized in the following changelog entry:

Relevant technical choices:

This adds a number of extra CS-related Composer scripts and handler functions.

This:

This also adds the ability to run CS with a Threshold. As the codebase is currently clean, this ability is not activated for CI for the time being, though it is likely that it will be activated once YoastCS 3.0 will be used.

Note: this change does mean that, in contrast to before, running check-cs will now return only errors. While this is new for this package, it is in line with the expected behaviour for the script as used in other packages.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 7228937204


Totals Coverage Status
Change from base Build 7180042685: 0.0%
Covered Lines: 1236
Relevant Lines: 2462

💛 - Coveralls