Skip to content

Fix type-safety for ExtensionPluginManager #344

Fix type-safety for ExtensionPluginManager

Fix type-safety for ExtensionPluginManager #344

Triggered via pull request September 16, 2024 17:22
Status Failure
Total duration 1m 40s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
8s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

5 errors
NonInvariantPropertyType: src/Reader/ExtensionPluginManager.php#L36
src/Reader/ExtensionPluginManager.php:36:21: NonInvariantPropertyType: Property Laminas\Feed\Reader\ExtensionPluginManager::$aliases has type array<array-key, mixed>, not invariant with Laminas\ServiceManager\ServiceManager::$aliases of type <empty> (see https://psalm.dev/265)
NonInvariantDocblockPropertyType: src/Reader/ExtensionPluginManager.php#L36
src/Reader/ExtensionPluginManager.php:36:21: NonInvariantDocblockPropertyType: Property Laminas\Feed\Reader\ExtensionPluginManager::$aliases has type array<array-key, mixed>, not invariant with Laminas\ServiceManager\ServiceManager::$aliases of type array<array-key, string> (see https://psalm.dev/267)
NonInvariantPropertyType: src/Reader/ExtensionPluginManager.php#L146
src/Reader/ExtensionPluginManager.php:146:21: NonInvariantPropertyType: Property Laminas\Feed\Reader\ExtensionPluginManager::$factories has type array<array-key, mixed>, not invariant with Laminas\ServiceManager\ServiceManager::$factories of type <empty> (see https://psalm.dev/265)
NonInvariantDocblockPropertyType: src/Reader/ExtensionPluginManager.php#L146
src/Reader/ExtensionPluginManager.php:146:21: NonInvariantDocblockPropertyType: Property Laminas\Feed\Reader\ExtensionPluginManager::$factories has type array<array-key, mixed>, not invariant with Laminas\ServiceManager\ServiceManager::$factories of type array<string, Laminas\ServiceManager\Factory\FactoryInterface|callable(Psr\Container\ContainerInterface, null|string, array<array-key, mixed>|null):object|class-string<Laminas\ServiceManager\Factory\FactoryInterface>> (see https://psalm.dev/267)
NonInvariantPropertyType: src/Reader/ExtensionPluginManager.php#L200
src/Reader/ExtensionPluginManager.php:200:20: NonInvariantPropertyType: Property Laminas\Feed\Reader\ExtensionPluginManager::$sharedByDefault has type bool, not invariant with Laminas\ServiceManager\ServiceManager::$sharedByDefault of type <empty> (see https://psalm.dev/265)