Skip to content

PDO class const are replaced with Doctrine Enum, which causes a TypeError #9365

@bmdevel

Description

@bmdevel

rectorphp/rector-doctrine@3d90be7 replaces the usage of the int -typed constants from PDO with the non-int-backed enum Doctrine\DBAL\ParameterType
this causes a type incompatibility whenever we use the int-const to pass to \PDOStatement::bindParam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions