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

bleedingdeacons / whats-on / 43463506515
92%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 04:34PM UTC
Jobs 1
Files 8
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

13 Nov 2026 04:31PM UTC coverage: 91.667%. First build
43463506515

push

github

web-flow
ci: suite build script, quality gates and release on merge (#4)

* build: adopt the suite's build.php and composer build:* scripts

composer build:production now writes build/whats-on-production-<version>.zip,
as every suite plugin does, so /bump and the CI release flow recognise it.
build.php is lifelines' script adapted for npm-built assets: it runs
npm run build first, anchors excludes at the root (the shared matcher would
drop assets/build) and runs Composer through COMPOSER_BINARY. The plugin
version is read from the header, and bin/package.mjs is retired.

* test: run the PHP tests on wp-mocks, Pest 5 and PHPUnit 13

The suite's shared WordPress doubles replace hand-written Brain Monkey
stubs: tests seed WpState (posts, meta, options, thumbnails, attachments)
and assert on the result. Same versions as lifelines. Adds coverage for
upcoming(), the timezone fallback and per-event timezones.

* style: PSR-12 throughout and PHPStan level 9 clean

phpcbf applied PSR-12 (whitespace only). Level 9 needed typed reads of
Divi's nested block attributes and of mixed values from post meta,
options and REST params, now in WhatsOn\Support\Attrs; Divi's module
objects are typed and checked. Parsing numeric category slugs no longer
turns them into ints. PHPStan reads stubs for the Divi 5 and TEC APIs used.
dev.ps1 puts Local's PHP first on PATH so tools Composer starts share it.

* ci: the suite's workflow, quality gates and release on merge

Gates on PHP 8.4 and 8.5: composer validate/audit, npm audit, Semgrep,
PHP lint, Vitest, the production build (and that committed assets are
current), Pest, PHPCS and PHPStan with badge checks; Coveralls advisory.
Merging to main raises the version, builds the zip and publishes a
GitHub Release, as in lifelines.

* ci: keep build.php out of Semgrep, as the other suite plugins do

The CLI build script shells out to npm and Composer (exec-use) and
cleans its own staging directory (unlink-use). It is never shipped and
never se... (continued)

253 of 276 new or added lines in 8 files covered. (91.67%)

253 of 276 relevant lines covered (91.67%)

3.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
15.38
src/Events/EventCard.php
9
18.18
src/Events/EventImage.php
2
97.33
src/Events/EventRepository.php
1
97.06
src/Events/QueryOptions.php
Jobs
ID Job ID Ran Files Coverage
1 43463506515.1 13 Nov 2026 04:34PM UTC 8
91.67
GitHub Action Run
Source Files on build 43463506515
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43463506515
  • de4bc7a9 on github
  • Next Build on main (#43464871596)
  • Delete
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