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

bleedingdeacons / trusted / 31237951890
92%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2026 03:47AM UTC
Jobs 1
Files 27
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

08 Aug 2026 03:46AM UTC coverage: 93.551% (-0.06%) from 93.614%
31237951890

push

github

web-flow
chore: guard wpdb::prepare() against null and raise PHPStan to level 8 (#52)

Level 8 checks calls and property reads against nullable types. Trusted
reported a single finding: wpdb::prepare() is typed string|null and
wpdb::query() takes a plain string, so the nested call in
AssignmentRepository::assignIfOpen() is a possible null argument.

The SQL now goes into a local and is guarded before reaching query().
Returning null rather than throwing, because assignIfOpen() already
documents null as "slot already taken (or the insert failed)" — a
prepare() failure is that second case, so it needs no separate signal.

No baseline entries added. phpstan, phpcs and 250 tests green.

1378 of 1473 relevant lines covered (93.55%)

3.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.73
-1.27% trusted/trusted/src/Repository/AssignmentRepository.php
Jobs
ID Job ID Ran Files Coverage
1 31237951890.1 08 Aug 2026 03:47AM UTC 27
93.55
GitHub Action Run
Source Files on build 31237951890
  • Tree
  • List 27
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31237951890
  • 0338fb11 on github
  • Prev Build on main (#31223874551)
  • Next Build on main (#31332374516)
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