Context
Part of #60.
Data
mago analyze flags mixed-assignment/mixed-argument/less-specific-argument/possibly-null-argument across all 8 factories in src/Container/ (MetadataInterfaceFactory, PdoConnectionInterfaceFactory, ConnectionInterfaceFactory, PdoDriverInterfaceFactory, DriverInterfaceFactory, PdoStatementFactory, PlatformInterfaceFactory, StatementInterfaceFactory). Root cause: Psr\Container\ContainerInterface::get() and Laminas\ServiceManager\ServiceManager::build() both return mixed, and the $options arrays passed through are untyped, so every value pulled from the container and passed into a concrete constructor resolves to mixed.
Also 2x missing-constant-type (MetadataInterfaceFactory::ADAPTER_SERVICE_NAME) noted separately in this same sweep, unrelated to the mixed-* cluster.
These findings will be captured in a mago baseline rather than fixed or suppressed inline.
Context
Part of #60.
Data
mago analyzeflagsmixed-assignment/mixed-argument/less-specific-argument/possibly-null-argumentacross all 8 factories insrc/Container/(MetadataInterfaceFactory,PdoConnectionInterfaceFactory,ConnectionInterfaceFactory,PdoDriverInterfaceFactory,DriverInterfaceFactory,PdoStatementFactory,PlatformInterfaceFactory,StatementInterfaceFactory). Root cause:Psr\Container\ContainerInterface::get()andLaminas\ServiceManager\ServiceManager::build()both returnmixed, and the$optionsarrays passed through are untyped, so every value pulled from the container and passed into a concrete constructor resolves tomixed.Also 2x
missing-constant-type(MetadataInterfaceFactory::ADAPTER_SERVICE_NAME) noted separately in this same sweep, unrelated to the mixed-* cluster.These findings will be captured in a mago baseline rather than fixed or suppressed inline.