Skip to content

chore(qa): raise PHPStan to level 8 - #43

Merged
ogorzalka merged 3 commits into
mainfrom
chore/phpstan-level-8
Nov 25, 2026
Merged

ogorzalka merged 3 commits into
mainfrom
chore/phpstan-level-8

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

Branch: chore/phpstan-level-8, stacked on chore/phpstan-level-7. Contains the commit of the bug-fix PR (fix/discovery-without-reflection-cache, see lot5-wp-rest-fix-discovery.md) cherry-picked: merge the fix first or this PR carries it.

What changed

3 new errors, all method.nonObject: the nullable reflection cache of WpRestDiscovery. A real bug (routes silently not registered when no cache is given), fixed in the separate PR with its failing test. Nothing else at level 8.

Checked / not verified

0 errors; pest 76 pass + 1 incomplete (on main too); composer qa passes. Semgrep not run.

@ogorzalka
ogorzalka changed the base branch from chore/phpstan-level-7 to main November 25, 2026 12:21
@ogorzalka
ogorzalka merged commit 04875a1 into main Nov 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant