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

bleedingdeacons / integrity / 31013211595
91%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 02:06PM UTC
Jobs 1
Files 14
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

05 Aug 2026 02:03PM UTC coverage: 90.07%. Remained the same
31013211595

push

github

web-flow
chore(tooling): make PSR-12 a gate and badge the standard (#45)

PHPCS has been running advisory since it was added, with a note to promote
it once the repo was green. It never was, but every finding turned out to be
either a WordPress requirement, a test-only idiom, or whitespace phpcbf
fixes on its own.

Exclude the first two groups in .phpcs.xml.dist, each with the reason:

- Generic.Files.LineEndings — git normalises to LF in the index, so this
  only ever fired on Windows working copies, never in CI.
- Generic.Files.LineLength — PSR-12's 120-char limit, against markup and
  option literals where wrapping reads worse.
- PSR1.Files.SideEffects — the mandatory `if (!defined('ABSPATH')) exit;`
  guard counts as a side effect next to the class declaration.
- PSR1.Methods.CamelCapsMethodName, PSR1.Classes.ClassDeclaration,
  Squiz.Classes.ValidClassName, PSR12.Files.FileHeader — scoped to tests/,
  where snake_case BDD names and global WP_* stubs are deliberate.

phpcbf then handled the rest: opening braces onto their own line, inline
control structures expanded, multi-line call arguments reindented, trailing
blank lines before closing braces dropped. No behaviour changes.

With that the repo is clean, so PHPCS moves out of the advisory block and
becomes a gate.

The README badge reads the standard out of .phpcs.xml.dist via shields'
dynamic/xml rather than hardcoding it, matching what the PHPStan badge does
with phpstan.neon.dist. A CI step asserts the XPath still resolves, the same
guard the PHPStan badge already has.

2576 of 2860 relevant lines covered (90.07%)

3.37 hits per line

Coverage Regressions

Lines Coverage ∆ File
37
89.86
0.0% integrity/integrity/src/Api/Controllers/IntergroupMeetingController.php
16
96.17
0.0% integrity/integrity/src/Api/Controllers/MemberController.php
13
88.69
0.0% integrity/integrity/src/Auth/AuditLogger.php
13
48.28
0.0% integrity/integrity/src/Plugin.php
8
82.23
0.0% integrity/integrity/src/Admin/SettingsPage.php
3
95.73
0.0% integrity/integrity/src/Api/Controllers/GroupController.php
2
87.27
0.0% integrity/integrity/src/Api/Controllers/MeetingController.php
2
93.02
0.0% integrity/integrity/src/Api/Controllers/PositionController.php
Jobs
ID Job ID Ran Files Coverage
1 31013211595.1 05 Aug 2026 02:06PM UTC 14
90.07
GitHub Action Run
Source Files on build 31013211595
  • Tree
  • List 14
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31013211595
  • 559569e9 on github
  • Prev Build on main (#31007984900)
  • Next Build on main (#31013534235)
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