Skip to content

Merge pull request #11 from Micro-PHP/1.6.1 #43

Merge pull request #11 from Micro-PHP/1.6.1

Merge pull request #11 from Micro-PHP/1.6.1 #43

Triggered via push November 7, 2023 13:57
Status Success
Total duration 36s
Artifacts

ci.yaml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Tests 8.2 deps highest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
MixedAssignment: src/Business/Executor/RouteExecutor.php#L45
src/Business/Executor/RouteExecutor.php:45:13: MixedAssignment: Unable to determine the type that $response is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Business/Generator/UrlGenerator.php#L42
src/Business/Generator/UrlGenerator.php:42:41: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Business/Generator/UrlGenerator.php#L43
src/Business/Generator/UrlGenerator.php:43:55: MixedArgument: Argument 2 of str_replace cannot be mixed, expecting array<array-key, float|int|string>|string (see https://psalm.dev/030)
MixedAssignment: src/Business/Response/Callback/ResponseCallback.php#L66
src/Business/Response/Callback/ResponseCallback.php:66:13: MixedAssignment: Unable to determine the type that $classController is being assigned to (see https://psalm.dev/032)
MixedArgumentTypeCoercion: src/Business/Response/Callback/ResponseCallback.php#L66
src/Business/Response/Callback/ResponseCallback.php:66:64: MixedArgumentTypeCoercion: Argument 1 of Micro\Component\DependencyInjection\Autowire\AutowireHelperInterface::autowire expects array<array-key, object|string>|callable|class-string, but parent type array<class-string, null|string>|class-string|non-falsy-string provided (see https://psalm.dev/194)
MixedReturnTypeCoercion: src/Business/Route/Route.php#L46
src/Business/Route/Route.php:46:35: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for Micro\Plugin\Http\Business\Route\Route::getMethods is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Business/Route/Route.php#L48
src/Business/Route/Route.php:48:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<array-key, string>' for Micro\Plugin\Http\Business\Route\Route::getMethods (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Business/Route/Route.php#L61
src/Business/Route/Route.php:61:38: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>|null' for Micro\Plugin\Http\Business\Route\Route::getParameters is more specific than the inferred return type 'array<array-key, mixed>|null' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Business/Route/Route.php#L63
src/Business/Route/Route.php:63:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>|null' is more general than the declared return type 'array<array-key, string>|null' for Micro\Plugin\Http\Business\Route\Route::getParameters (see https://psalm.dev/197)
MixedInferredReturnType: src/HttpCorePluginConfiguration.php#L27
src/HttpCorePluginConfiguration.php:27:44: MixedInferredReturnType: Could not verify return type 'string' for Micro\Plugin\Http\HttpCorePluginConfiguration::getRouteLocatorType (see https://psalm.dev/047)