feat: Create library #6
Annotations
9 errors
ArgumentTypeCoercion:
include/Core.php#L60
include/Core.php:60:81: ArgumentTypeCoercion: Argument 2 of Archict\Core\Services\ServicesLoader::loadServicesIntoManager expects list<Archict\Core\Services\ServiceRepresentation>, but parent type array<array-key, Archict\Core\Services\ServiceRepresentation> provided (see https://psalm.dev/193)
|
InvalidReturnType:
include/Services/ServiceManager.php#L62
include/Services/ServiceManager.php:62:22: InvalidReturnType: The declared return type '(S:fn-archict\core\services\servicemanager::get as object)|null' for Archict\Core\Services\ServiceManager::get is incorrect, got 'null|object' (see https://psalm.dev/011)
|
InvalidReturnStatement:
include/Services/ServiceManager.php#L68
include/Services/ServiceManager.php:68:24: InvalidReturnStatement: The inferred type 'object' does not match the declared return type '(S:fn-archict\core\services\servicemanager::get as object)|null' for Archict\Core\Services\ServiceManager::get (see https://psalm.dev/128)
|
Check psalm
Process completed with exit code 2.
|
Check unit-test
The job was canceled because "psalm" failed.
|
Check unit-test
The operation was canceled.
|
Check phpstan
The job was canceled because "psalm" failed.
|
Check phpstan:
include/Services/ServiceManager.php#L68
Method Archict\Core\Services\ServiceManager::get() should return (S of object)|null but returns object.
|
Check phpstan
The operation was canceled.
|