# MER5-4736

## Status

APPROVED

## PHPUnit metrics

| Counter | Coverage |
| --- | --- |
| Tests | 91 passed, 0 failed, 0 skipped, 91 total (`composer test`) |
| Lines | 83.12% (586/705 on `includes/`; 80% gate PASS via `composer test:coverage`) |

Diff contains no new or changed runtime logic under `includes/`; metrics confirm the existing suite and coverage threshold remain satisfied.

## Dependency vulnerabilities

| Dependency / audit source | Introducing dependency(ies) | Source | Advisory / CVE | Severity / CVSS | Classification | Disposition |
| --- | --- | --- | --- | --- | --- | --- |
| OWASP dependency-check-maven | - | MAVEN | - | Summary: N/A | audit | WooCommerce PHP plugin; no Maven build; OWASP not applicable |
| composer audit | - | COMPOSER | - | Summary: no advisories | audit | `composer audit` — no security vulnerability advisories found |
| npm audit | - | NPM | - | Summary: N/A | audit | No module `package.json`; npm not applicable |

## Commit message suggestions

Copy option 1 — Short (subject only)

```txt
MER5-4736 Bump Snap Finance Checkout to 3.12.1 (pending payment fix)

Checklist: [x] compiles, [x] local startup, [x] tests/coverage, [ ] vulnerable deps (0 critical, 0 high)
```

Copy option 2 — Conventional style

```txt
MER5-4736 chore(release): WordPress.org stable tag and plugin version 3.12.1

- Align Version header in snap-finance-checkout.php with README.txt Stable tag
- Add 3.12.0 closure notice and 3.12.1 pending-payment bug fix changelog entries

Checklist: [x] compiles, [x] local startup, [x] tests/coverage, [ ] vulnerable deps (0 critical, 0 high)
```

Copy option 3 — More concise conventional

```txt
MER5-4736 chore(release): publish 3.12.1 marketplace metadata

Release-only version and changelog updates; PHPUnit suite and 80% includes/ coverage gate unchanged.

Checklist: [x] compiles, [x] local startup, [x] tests/coverage, [ ] vulnerable deps (0 critical, 0 high)
```

Copy option 4 — Minimal (ticket + one line)

```txt
MER5-4736 Release 3.12.1 stable tag and changelog for pending payment fix.

Checklist: [x] compiles, [x] local startup, [x] tests/coverage, [ ] vulnerable deps (0 critical, 0 high)
```
