Skip to content

Raise PHPStan from level 5 to level 7#96

Merged
alganet merged 1 commit intomasterfrom
phpstan-lvl
Mar 15, 2026
Merged

Raise PHPStan from level 5 to level 7#96
alganet merged 1 commit intomasterfrom
phpstan-lvl

Conversation

@alganet
Copy link
Member

@alganet alganet commented Mar 15, 2026

Add generic type annotations for SplObjectStorage parameters and return types across Mapper internals. Add iterable value types to array parameters in Sql and Db. Fix PDOStatement null-safety in MapperTest with a query() helper, add getColumnMeta() false check, and use get_object_vars() for object iteration.

Add generic type annotations for SplObjectStorage parameters and
return types across Mapper internals. Add iterable value types
to array parameters in Sql and Db. Fix PDOStatement null-safety
in MapperTest with a query() helper, add getColumnMeta() false
check, and use get_object_vars() for object iteration.
@alganet alganet marked this pull request as ready for review March 15, 2026 06:54
@alganet alganet merged commit 566d7a4 into master Mar 15, 2026
2 checks passed
@alganet alganet deleted the phpstan-lvl branch March 15, 2026 06:54
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