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

bleedingdeacons / trumpet / 30409357240
94%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 11:52PM UTC
Jobs 1
Files 11
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

28 Jul 2026 11:52PM UTC coverage: 92.786%. Remained the same
30409357240

push

github

web-flow
fix: drop erroneous use($submenu) capture on admin_head closure (#26)

registerTrumpetMenu() registered an admin_head closure with
`use ($submenu)`, but no $submenu exists in that scope, so PHP emitted
an "Undefined variable $submenu" warning every time the admin menu was
built. The closure body only uses $plugin_url, so the capture was purely
erroneous; remove it. (The separate admin_menu closure a few lines down
that manipulates $submenu via `global` is untouched.)

With the warning gone, PluginAdminTest no longer needs its scoped
error-handler workaround, so the wiring test now exercises
registerTrumpetMenu() directly and fails if any warning reappears.

836 of 901 relevant lines covered (92.79%)

6.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30409357240.1 28 Jul 2026 11:52PM UTC 11
92.79
GitHub Action Run
Source Files on build 30409357240
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30409357240
  • 95c72b93 on github
  • Prev Build on main (#30408874269)
  • Next Build on main (#30554524581)
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