Skip to content

Make Doctrine DBAL 4 middleware integration compatible with current driver signatures #34

Description

@javihgil

ConnectionTracerMiddleware is not compatible with current Doctrine DBAL 4 driver signatures.

Current problems:

  • beginTransaction(), commit(), and rollBack() declare bool returns while DBAL 4 middleware expects void
  • PHPStan reports covariance and return-type errors
  • the class may fail or behave inconsistently when the middleware branch is actually loaded in DBAL 4 environments

This should be fixed in a way that keeps the bundle usable across the supported DBAL versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions