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

bleedingdeacons / scrutiny / 31237587134
93%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2026 03:37AM UTC
Jobs 1
Files 23
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:36AM UTC coverage: 92.386%. Remained the same
31237587134

push

github

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

Level 8 checks calls and property reads against nullable types. Scrutiny
reported 17 findings, in two shapes.

Configuration::getConfig() is declared `?array` — it returns null when no
Member config is registered — but four classes assign it straight to a
non-nullable `array` property. Under strict_types that is a TypeError, not
a silent null. Coalesce to an empty map, which is what every reader of
those properties already treats a missing config as:

  - src/Privacy/MemberFieldsObscurer.php
  - src/Privacy/ResponderCertificationGuard.php
  - src/Audit/AuditTracker.php
  - src/Admin/Members/PersonalDataMinder.php

The other 13 are `self::$container->get()` inside init(). The property is
`?ContainerInterface` and PHPStan does not narrow static properties across
statements, so every call reads as a possible null-method-call. All 13 sit
where the `$unityContainer` parameter that was just assigned to it is still
in scope, so use that instead — same object, obviously non-null, no
accessor indirection.

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

1723 of 1865 relevant lines covered (92.39%)

8.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
91.3
0.0% scrutiny/scrutiny/src/Privacy/MemberFieldsObscurer.php
Jobs
ID Job ID Ran Files Coverage
1 31237587134.1 08 Aug 2026 03:37AM UTC 23
92.39
GitHub Action Run
Source Files on build 31237587134
  • Tree
  • List 23
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31237587134
  • f77d360f on github
  • Prev Build on main (#31223830733)
  • Next Build on main (#31332361658)
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