Skip to content

Fix dependency and class incompatibilities #356

Fix dependency and class incompatibilities

Fix dependency and class incompatibilities #356

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

Annotations

30 errors
RiskyTruthyFalsyComparison: src/CodeGenerator/FactoryGenerator.php#L59
src/CodeGenerator/FactoryGenerator.php:59:28: 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/CodeGenerator/FactoryGenerator.php#L192
src/CodeGenerator/FactoryGenerator.php:192:45: 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/CodeGenerator/FactoryGenerator.php#L193
src/CodeGenerator/FactoryGenerator.php:193:45: 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/CodeGenerator/FactoryGenerator.php#L194
src/CodeGenerator/FactoryGenerator.php:194:45: 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/CodeGenerator/GeneratorTrait.php#L57
src/CodeGenerator/GeneratorTrait.php:57: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/CodeGenerator/InjectorGenerator.php#L74
src/CodeGenerator/InjectorGenerator.php:74:36: 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/Config.php#L170
src/Config.php:170: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/Config.php#L225
src/Config.php:225: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/Container/AutowireFactory.php#L61
src/Container/AutowireFactory.php:61:71: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ParamNameMismatch: src/DefaultContainer.php#L60
src/DefaultContainer.php:60:25: ParamNameMismatch: Argument 1 of Laminas\Di\DefaultContainer::has has wrong name $name, expecting $id as defined by Psr\Container\ContainerInterface::has (see https://psalm.dev/230)