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

bleedingdeacons / trumpet / 31199158667
94%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2026 04:46PM 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:46PM UTC coverage: 94.071% (-0.004%) from 94.075%
31199158667

push

github

web-flow
fix: accept null shortcode content, and raise PHPStan to level 7 (#64)

Level 7 caught a live crash. Both shortcode callbacks declared
`string $content`, but WordPress passes null when a shortcode is
self-closing - which is exactly how [announcements_indicator] and
[list_announcements] are meant to be used. Trumpet declares
strict_types=1, so that was a TypeError, not a coercion. Both are now
`?string`.

Also guarded get_the_time(), which is string|int|false, before handing it
to parseDate(): anything but a string now reads as "no post date".

1174 of 1248 relevant lines covered (94.07%)

6.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
95.87
0.0% trumpet/trumpet/src/Trumpet/Announcement/AnnouncementManager.php
2
95.45
-0.03% trumpet/trumpet/src/Trumpet/Announcement/Announcement.php
Jobs
ID Job ID Ran Files Coverage
1 31199158667.1 07 Aug 2026 04:46PM UTC 13
94.07
GitHub Action Run
Source Files on build 31199158667
  • Tree
  • List 13
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31199158667
  • 2e0d270d on github
  • Prev Build on main (#31189848734)
  • Next Build on main (#31221994183)
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