• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bleedingdeacons / concordance / 31199144158
94%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2026 04:47PM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 04:45PM UTC coverage: 94.787% (-0.6%) from 95.371%
31199144158

push

github

web-flow
fix: do not cache under a colliding key, and raise PHPStan to level 7 (#40)

The cache key was md5(wp_json_encode($queryArgs)) with no check on the
encode. wp_json_encode() returns false on failure and md5(false) is
md5('"'"''"'"'), so every distinct query would have shared one key and been
served another query'"'"'s results. It now bypasses the cache instead.

ApiClient similarly assigned wp_json_encode($body) straight into the
request args; a failed encode would have sent a well-formed POST with no
body. It now returns a WP_Error.

getFormattedLastUpdate() returned wp_date()'"'"'s string|false against a
string signature, and now falls back to the raw value like the
unparseable-timestamp branch above it.

The three ConcordanceCli findings were not missing is_wp_error() checks -
those were already there. WP_CLI::error() only exits when its $exit
argument is left at the default, which the signature does not say, so the
guards now return explicitly.

8 of 16 new or added lines in 4 files covered. (50.0%)

1200 of 1266 relevant lines covered (94.79%)

6.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
83.33
-3.57% src/Api/ApiClient.php
3
94.05
-3.48% src/Cli/ConcordanceCli.php
1
94.83
-1.54% src/Api/ApiCache.php
Jobs
ID Job ID Ran Files Coverage
1 31199144158.1 07 Aug 2026 04:47PM UTC 13
94.79
GitHub Action Run
Source Files on build 31199144158
  • Tree
  • List 13
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31199144158
  • 54d6d677 on github
  • Prev Build on main (#31189839211)
  • Next Build on main (#31223879751)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc