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

bleedingdeacons / integrity / 31237735675
91%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2026 03:43AM 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

08 Aug 2026 03:40AM UTC coverage: 90.049% (-0.02%) from 90.073%
31237735675

push

github

web-flow
fix: close null-safety gaps and raise PHPStan to level 8 (#59)

Level 8 checks calls and property reads against nullable types. Integrity
reported 4 findings.

Mask::phone() counted digits with preg_replace(), which returns null on a
PCRE failure. Coalescing that to '' would report zero digits and return the
number completely unmasked — the wrong direction for a masking helper to
fail in. Counted with the same ctype_digit walk the function already uses
below, which has no failure path at all.

RestController's one-shot rest_post_dispatch closure removed itself via
$this->rateLimitFilter, declared callable|null. Guarded exactly as the
removal at the top of attachRateLimitFilter() already is; a null property
means nothing is registered to remove.

Plugin::init() resolved two services off the ?ContainerInterface property.
The rest_api_init closure runs later, so it goes through getContainer(),
which throws if the plugin was never initialised; the is_admin() branch runs
inline and uses the $unityContainer parameter already in scope.

No baseline entries added. phpstan, phpcs and 272 tests green.

2579 of 2864 relevant lines covered (90.05%)

3.37 hits per line

Coverage Regressions

Lines Coverage ∆ File
29
48.28
0.0% integrity/integrity/src/Plugin.php
5
92.8
-0.27% integrity/integrity/src/Api/RestController.php
Jobs
ID Job ID Ran Files Coverage
1 31237735675.1 08 Aug 2026 03:43AM UTC 14
90.05
GitHub Action Run
Source Files on build 31237735675
  • Tree
  • List 14
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31237735675
  • 169333c9 on github
  • Prev Build on main (#31223858881)
  • Next Build on main (#31332366469)
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