Skip to content

Audit fixes (2026-09) - #1

Merged
luthermonson merged 1 commit into
mainfrom
fix/audit-2026-09
Sep 11, 2026
Merged

luthermonson merged 1 commit into
mainfrom
fix/audit-2026-09

Conversation

@luthermonson

Copy link
Copy Markdown
Contributor

Audited DB-bridge fixes for db. Adopts the newer ephpm_db_* natives (#259-#263: run/columns/in_transaction) behind function_exists (v0.6.3 floor preserved), fixes the \'->'' escaping on the tenant path where present, and refreshes docs/CI. Tests added/updated (agent ran suites green in a php:8.3 container).

…ion guard, run()/columns()

- Add .github/workflows/ci.yml (PHP 8.2/8.3/8.4 matrix, phpunit + composer validate --strict), mirroring the sibling repos.
- Complete stubs/ephpm-db.stub.php to all 8 ephpm_db_* natives with correct signatures and @throws.
- Connection::transaction() consults ephpm_db_in_transaction() (behind function_exists) so it no longer fires ROLLBACK blind on a session already out of its transaction; falls back to prior blind-rollback behaviour on an older ePHPm floor.
- Add Connection::run() over ephpm_db_run (with a keyword-classifying fallback) and expose column metadata on Result (columns()/columnNames()), populated by run() even for a zero-row result set.
- Refresh current-release string v0.8.6 -> v0.10.2.
- Extend the offline polyfill with ephpm_db_run/columns/in_transaction/available and add tests.
@ephpm

ephpm Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

ePHPm Preview — removed

Preview deployment has been torn down.

@ephpm

ephpm Bot commented Sep 11, 2026

Copy link
Copy Markdown

ePHPm Preview — deployed (health check pending)

URL https://ephpm-db-pr-1.preview.ephpm.dev
Framework PHP
PHP 8.5
Deployed in 61.4s

Preview updates automatically on each push to this PR.

@ephpm
ephpm Bot temporarily deployed to preview-pr-1 September 11, 2026 06:59 Inactive
@ephpm
ephpm Bot temporarily deployed to preview-pr-1 September 11, 2026 06:59 Inactive
@luthermonson
luthermonson merged commit 042aed4 into main Sep 11, 2026
3 checks passed
@luthermonson
luthermonson deleted the fix/audit-2026-09 branch September 11, 2026 06:59

This branch was successfully deployed

1 active deployment
preview-pr-1 — f3e7f2ba Deployed Sep 11, 2026 by ephpm[bot]
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