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

bleedingdeacons / confur / 43074303130
96%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 06:08PM 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

11 Nov 2026 06:04PM UTC coverage: 94.96% (+0.2%) from 94.78%
43074303130

push

github

web-flow
feat: edit the question set in the admin (#84)

* feat: edit the question set in the admin

Administrators can now set the committees, how many questions each has,
and which committee is shown as "All Committees" on a new
Questions for Conference → Questions screen, instead of a plugin release
for each conference cycle.

- QuestionSetOption stores the set in the confur_question_set option.
  Nothing saved, or a saved value that is no longer valid, falls back to
  QuestionSet::DEFAULT so a broken option cannot stop groups saving.
- QuestionSet::current() reads the saved set; the confur_question_set
  filter still sees it last, keeping the saved All Committees choice when
  it only adjusts counts. The screen warns when a filter is overriding it.
- QuestionSetAdminPage: one row per committee plus two blank rows to add
  more; 0 questions removes a committee. Nonce-checked admin-post handler,
  manage_options only, Reset to Default. Validation messages are kept in a
  per-user transient rather than the redirect URL, so a crafted link cannot
  put text in an admin notice.
- AnswerStore also reads the current set's field names directly.
  get_fields() returns only fields the ACF group defines, so answers to an
  added question would otherwise be saved but never shown on Results.
- README describes the new screen.

* refactor: move QuestionSetOption to Storage as QuestionSetStore

CI failed on #84: phpunit.xml excludes src/Config from coverage, so
covers(QuestionSetOption::class) made every test in its file a 'not a
valid target for code coverage' warning under --coverage. The class
reads and writes an option — it is storage, like AnswerStore — so it
moves to src/Storage, where its coverage is measured.

* fix: keep answers to removed questions on Results; reject fractional stored counts

Addresses review on #84:
- An answer to a question that was added on the Questions screen and
  later removed has no ACF field and is no longer in the set, so neither
  get... (continued)

182 of 188 new or added lines in 5 files covered. (96.81%)

2393 of 2520 relevant lines covered (94.96%)

4.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
95.42
src/Admin/QuestionSetAdminPage.php
Jobs
ID Job ID Ran Files Coverage
1 43074303130.1 11 Nov 2026 06:08PM UTC 27
94.96
GitHub Action Run
Source Files on build 43074303130
  • Tree
  • List 27
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43074303130
  • d2090156 on github
  • Prev Build on main (#43071532916)
  • Next Build on main (#43075284333)
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