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

bleedingdeacons / trumpet / 31238601802
94%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2026 04:04AM 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

08 Aug 2026 04:03AM UTC coverage: 94.075% (+0.004%) from 94.071%
31238601802

push

github

web-flow
fix: don't emit an empty edit href, and raise PHPStan to level 8 (#66)

Level 8 checks calls and property reads against nullable types. Trumpet
reported a single finding: AnnouncementManager passed get_edit_post_link()
straight to esc_url(), which takes a string.

get_edit_post_link() returns null when the post type registers no edit
link, and the current_user_can('edit_post', ...) check above it does not
rule that out — so the rendered markup could carry an empty href. The edit
anchor is now only built when there is a link; otherwise the plain title
stands, which is what a user without the capability already sees.

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

1175 of 1249 relevant lines covered (94.08%)

6.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
95.88
0.02% trumpet/trumpet/src/Trumpet/Announcement/AnnouncementManager.php
Jobs
ID Job ID Ran Files Coverage
1 31238601802.1 08 Aug 2026 04:04AM UTC 13
94.08
GitHub Action Run
Source Files on build 31238601802
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31238601802
  • 6dd1c2b3 on github
  • Prev Build on main (#31221994183)
  • Next Build on main (#31332379210)
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