You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Analysis] Statement.php: mixed-assignment in bindParametersFromContainer() stems from ParameterContainer::getNamedArray() #67
mago analyze flags mixed-assignment on $value in bindParametersFromContainer()'s foreach ($parameters as $name => &$value) loop. $parameters comes from ParameterContainer::getNamedArray(): array (upstream php-db/phpdb, docblock @return array<string|int, mixed>). This is not an untyped-boundary bug: bind parameter values are legitimately heterogeneous scalars (int/string/float/null) by design, so mixed is an accurate description of the value, not a gap to close.
These findings will be captured in a mago baseline rather than fixed or suppressed inline.
Closing as resolved. The mixed-assignment on \ in bindParametersFromContainer() is captured in the committed analysis-baseline.toml for src/Statement.php, per the disposition recorded in this issue.
Activity
tyrsson commentedon Oct 7, 2026
Closing as resolved. The
mixed-assignmenton\inbindParametersFromContainer()is captured in the committedanalysis-baseline.tomlforsrc/Statement.php, per the disposition recorded in this issue.