Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 3.63 KB

File metadata and controls

67 lines (44 loc) · 3.63 KB

Test Code Coverage CS PHPStan Lint

WordPress Plugin Version WordPress Plugin: Tested WP Version WordPress Plugin Active Installs WordPress Plugin Downloads WordPress Plugin Rating GitHub

Try Progress Planner on the WordPress playground

Progress Planner

Progress Planner - Powering your website's progress

What does this plugin do?

This post explains what Progress Planner does and how to use it: What does Progress Planner do?.

How to install Progress Planner

You can find installation instructions here.

Contributing

Running Tests

To run the test suite:

composer test

Code Coverage

To generate code coverage reports locally, you need either PCOV (recommended) or Xdebug installed:

composer coverage

This will generate:

  • An HTML coverage report in the coverage-html/ directory
  • A text-based coverage summary in your terminal

Coverage Requirements: Pull requests must maintain code coverage within 0.5% of the base branch. PRs that drop coverage by more than 0.5% will be blocked until additional tests are added.

Other Quality Commands

composer check-cs    # Check coding standards
composer fix-cs      # Auto-fix coding standards
composer phpstan     # Run static analysis
composer lint        # Check PHP syntax

Branches on this repository

We use a couple of branches in this repository to keep things clean:

  • develop contains the current state of development.
  • main contains the current stable release. Releases here will be tagged as such.