Skip to content

composer: switch to upstream adodb/adodb-php from stale reportico/adodb-php fork - #59

Open
pixilla wants to merge 1 commit into
reportico-web:masterfrom
databoost:feature/switch-to-upstream-adodb
Open

composer: switch to upstream adodb/adodb-php from stale reportico/adodb-php fork#59
pixilla wants to merge 1 commit into
reportico-web:masterfrom
databoost:feature/switch-to-upstream-adodb

Conversation

@pixilla

@pixilla pixilla commented May 13, 2026

Copy link
Copy Markdown

Summary

Replace the long-stale reportico/adodb-php: ^8.1 Composer dependency with the actively maintained upstream package adodb/adodb-php: ^5.22.11.

The reportico/adodb-php package is a snapshot of an older ADOdb release and has not received any of the upstream security or PHP 8.x compatibility fixes that have shipped since.

Why

Switching to upstream brings in:

  • Security fixescomposer audit flags the previous package because of advisories patched in 5.22.10/5.22.11 (PKSA-rfc1-gnmf-7kkz, PKSA-jm5q-b4t5-4pm4).
  • PHP 8.5 source compatibility — the (integer) cast deprecations that previously required a custom patch against the reportico fork were already addressed upstream (ADOdb 5.22.10/5.22.11 replaced (integer) with (int) throughout).
  • Driver bug fixes — accumulated PDO/oci8/postgres fixes since the fork.

What changes

A single line in composer.json:

-        "reportico/adodb-php": "^8.1",
+        "adodb/adodb-php": "^5.22.11",

…db-php fork

The current `reportico/adodb-php: ^8.1` dependency is a long-stale snapshot
of an older ADOdb release. It has not received any of the upstream security
or PHP 8.x compatibility fixes that have shipped since.

Switching to the actively maintained upstream package brings in:

- Multiple security advisories fixed in 5.22.10 / 5.22.11 (PKSA-rfc1-gnmf-7kkz,
  PKSA-jm5q-b4t5-4pm4, etc.); previous ADOdb versions are flagged by
  composer audit.
- PHP 8.5 source compatibility — the `(integer)` cast deprecations that
  originally required custom patches against the reportico fork were
  already addressed upstream (see ADOdb commits replacing `(integer)`
  with `(int)` in 5.22.10 / 5.22.11).
- PDO/oci8/postgres driver bug fixes accumulated since the fork.

No source changes are required in Reportico itself: the existing code uses
the standard `ADODB_*` global-namespace classes/constants and the
`ADODB_DIR` constant, all of which are identical between the two packages.

Tested on PHP 8.5.1 (MacPorts) with adodb/adodb-php v5.22.11 against a
PostgreSQL backend: report run, criteria selection, HTML output and TCPDF
PDF generation all behave identically to the previous build.

Co-authored-by: Cursor <cursoragent@cursor.com>
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