Skip to content

TDbCronManager second coverage audit: driver gap tests, unused getIsOracle removed (#1497) - #1681

Merged
ctrlaltca merged 1 commit into
pradosoft:masterfrom
belisoful:coverage-dbcronmanager-reaudit
Nov 28, 2026
Merged

ctrlaltca merged 1 commit into
pradosoft:masterfrom
belisoful:coverage-dbcronmanager-reaudit

Conversation

@belisoful

Copy link
Copy Markdown
Member

Part of #1497.

This is a second coverage audit of Util/Cron after #1646, #1663, and #1667 changed TDbCronManager following the Util/Cron coverage in #1621. Path coverage ran with only the Util/Cron tests on current master.

Findings

The remaining missed paths in TDbCronManager are Xdebug artifacts: a path that skips the right operand of a || or && that must run, or a foreach over a constant, non-empty array that iterates zero times.

Checks

php -l, php-cs-fixer, phpstan, and the full unit suite pass. The changed tests pass on PHP 8.2 to 8.6.

@belisoful
belisoful force-pushed the coverage-dbcronmanager-reaudit branch from 0d3b51a to b32518b Compare November 27, 2026 14:25
@ctrlaltca
ctrlaltca merged commit 25f5c87 into pradosoft:master Nov 28, 2026
19 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.

2 participants