Skip to content

Add readonly properties, fix deprecations, improve cov and CI#97

Merged
alganet merged 1 commit intomasterfrom
ci-cov
Mar 15, 2026
Merged

Add readonly properties, fix deprecations, improve cov and CI#97
alganet merged 1 commit intomasterfrom
ci-cov

Conversation

@alganet
Copy link
Member

@alganet alganet commented Mar 15, 2026

Mark Mapper::$db and Db::$connection as readonly. Fix 3 deprecation warnings by adding explicit typed properties to TestFetchingClassArgs for PDO FETCH_CLASS compatibility. Add 10 tests covering Db, Sql, and Mapper edge cases to reach 98.66% line coverage. Add composer coverage script. Add code-coverage CI job with Codecov upload and PHPCS to the static-analysis CI job.

Mark Mapper::$db and Db::$connection as readonly. Fix 3
deprecation warnings by adding explicit typed properties to
TestFetchingClassArgs for PDO FETCH_CLASS compatibility. Add 10
tests covering Db, Sql, and Mapper edge cases to reach 98.66%
line coverage. Add composer coverage script. Add code-coverage
CI job with Codecov upload and PHPCS to the static-analysis CI
job.
@alganet alganet marked this pull request as ready for review March 15, 2026 07:27
@alganet alganet merged commit 4d481bb into master Mar 15, 2026
3 checks passed
@alganet alganet deleted the ci-cov branch March 15, 2026 07:28
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

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.

2 participants