atrocore-mcp / dbal-compat
doctrine/dbal 3.2.2, unmodified except for one composer.json constraint: doctrine/deprecations relaxed from ^0.5.3 to ^0.5.3 || ^1, so it stops disjointly conflicting with mcp/sdk's phpdocumentor/reflection-docblock ^1.1 requirement on AtroCore instances (which pin doctrine/dbal ~3.2.2). Declares `r
Requires
- php: ^7.3 || ^8.0
- composer/package-versions-deprecated: ^1.11.99
- doctrine/cache: ^1.11|^2.0
- doctrine/deprecations: ^0.5.3 || ^1
- doctrine/event-manager: ^1.0
- psr/cache: ^1|^2|^3
- psr/log: ^1|^2|^3
Suggests
- symfony/console: For helpful console commands such as SQL execution and import of files.
Replaces
- doctrine/dbal: 3.2.2
This package is not auto-updated.
Last update: 2026-08-14 23:30:44 UTC
README
A drop-in replace for doctrine/dbal 3.2.2, identical to the real
upstream release except for one line in composer.json: the
doctrine/deprecations requirement is relaxed from ^0.5.3 to
^0.5.3 || ^1.
Why this exists
AtroCore core pins doctrine/dbal ~3.2.2, which (in the real, unmodified
package) requires doctrine/deprecations ^0.5.3. Anything requiring
phpdocumentor/reflection-docblock (as mcp/sdk
does, transitively, via atrocore-mcp/server)
needs doctrine/deprecations ^1.1 — a disjoint requirement. doctrine/dbal
3.3.0+ already accepts this same relaxed range
(doctrine/deprecations ^0.5.3 || ^1); AtroCore core's own pin just never
got the chance to benefit from it, since it's capped at ~3.2.2.
Rather than route around that with Composer's provide/fixed-package
mechanics — fragile across partial updates, see
atrocore-mcp's own README
for the long version — this package removes the disjoint requirement at its
actual source. doctrine/deprecations 0.5.3 and 1.1.x have an identical
public API (Deprecation::trigger(), triggerIfCalledFromOutside(), etc.
unchanged between them), so relaxing dbal's own declared constraint is safe:
whichever real doctrine/deprecations version Composer resolves, dbal's
actual behavior at runtime is unaffected either way.
No other code is modified. This is doctrine/dbal 3.2.2's real source,
copied unchanged, with replace declared so Composer treats installing this
package as satisfying any doctrine/dbal ~3.2.2/^3.2 requirement directly
— no root composer.json changes needed anywhere that already requires this
package transitively.
License
MIT, same as the original doctrine/dbal. Original authors credited in
composer.json; this package is an unofficial compatibility repackaging, not
affiliated with the Doctrine Project.