Skip to content

Statement.php uninitialized-property findings need local-variable narrowing rewrite #61

Description

@tyrsson

Context

Part of #60.

Data

mago analyze flags uninitialized-property for $mysqli, $driver, and $resource in src/Statement.php. Each is set via a dedicated setter (initialize(), setDriver(), prepare()/setResource()), never in the constructor.

These findings will be captured in a mago baseline rather than fixed or suppressed inline.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions