Skip to content

Fix/connection robustness - #4

Merged
leeqvip merged 4 commits into
masterfrom
fix/connection-robustness
Aug 29, 2026
Merged

leeqvip merged 4 commits into
masterfrom
fix/connection-robustness

Conversation

@leeqvip

@leeqvip leeqvip commented Aug 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

Passing an empty config to Connection crashed with an "Undefined array
key" warning; throw InvalidArgumentException instead.
With autoConnection enabled a failed PDO connection was retried forever
with the same config until the stack overflowed. Retry once, then
rethrow the original exception.
Covers parseDsn of all drivers, Connector::createConnection paths,
Manager::getConnection, numbered placeholders, affected row counts, PDO
caching and exception paths. Raises line coverage from 51.52% to 100%.
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 33260408199

Coverage increased (+34.3%) to 100.0%

Details

  • Coverage increased (+34.3%) from the base build.
  • Patch coverage: 3 of 3 lines across 2 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 69
Covered Lines: 69
Line Coverage: 100.0%
Coverage Strength: 80.35 hits per line

💛 - Coveralls

@leeqvip
leeqvip merged commit 84b0f1a into master Aug 29, 2026
16 checks passed
@leeqvip

leeqvip commented Aug 29, 2026

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 2.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants