Skip to content

Load the DefaultRoutesConfigLoaderFactory with Mezzio Tooling #433

Load the DefaultRoutesConfigLoaderFactory with Mezzio Tooling

Load the DefaultRoutesConfigLoaderFactory with Mezzio Tooling #433

Triggered via push November 14, 2024 11:58
Status Failure
Total duration 1m 3s
Artifacts
ci  /  Generate job matrix
5s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

14 errors
RiskyTruthyFalsyComparison: src/ConfigInjector/AbstractInjector.php#L187
src/ConfigInjector/AbstractInjector.php:187:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/CreateHandler/CreateHandler.php#L49
src/CreateHandler/CreateHandler.php:49:30: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/CreateHandler/CreateTemplate.php#L73
src/CreateHandler/CreateTemplate.php:73:25: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/CreateHandler/CreateTemplate.php#L88
src/CreateHandler/CreateTemplate.php:88:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/MigrateInteropMiddleware/ConvertInteropMiddleware.php#L105
src/MigrateInteropMiddleware/ConvertInteropMiddleware.php:105:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/MigrateInteropMiddleware/ConvertInteropMiddleware.php#L120
src/MigrateInteropMiddleware/ConvertInteropMiddleware.php:120:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MixedPropertyTypeCoercion: src/Routes/Filter/RouteFilterOptions.php#L32
src/Routes/Filter/RouteFilterOptions.php:32:30: MixedPropertyTypeCoercion: $this->methods expects 'array<array-key, string>|null|string', parent type `array<array-key, mixed>` provided (see https://psalm.dev/196)
RiskyTruthyFalsyComparison: src/Routes/Filter/RouteFilterOptions.php#L82
src/Routes/Filter/RouteFilterOptions.php:82:41: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed|string>|null|string contains types array<array-key, mixed|string>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PossiblyNullArgument: src/Routes/Filter/RoutesFilter.php#L96
src/Routes/Filter/RoutesFilter.php:96:57: PossiblyNullArgument: Argument 3 of str_replace cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: src/Routes/Filter/RoutesFilter.php#L102
src/Routes/Filter/RoutesFilter.php:102:29: PossiblyNullArgument: Argument 2 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)