Skip to content

start typeschema next migration #28

start typeschema next migration

start typeschema next migration #28

Triggered via pull request October 12, 2024 23:16
Status Failure
Total duration 29s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
RedundantCondition: src/Controller/Example.php#L42
src/Controller/Example.php:42:13: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
ImplicitToStringCast: src/Controller/Example.php#L84
src/Controller/Example.php:84:90: ImplicitToStringCast: Argument 1 of PSX\Schema\Generator\FileAwareInterface::getFileContent expects string, but PSX\Schema\Generator\Code\Chunks|string provided with a __toString method (see https://psalm.dev/060)
RiskyTruthyFalsyComparison: src/Controller/Generator.php#L77
src/Controller/Generator.php:77:14: 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)
RedundantCondition: src/Controller/Generator.php#L98
src/Controller/Generator.php:98:25: RedundantCondition: Type string for $schema is never null (see https://psalm.dev/122)
TypeDoesNotContainNull: src/Controller/Generator.php#L98
src/Controller/Generator.php:98:36: TypeDoesNotContainNull: Cannot resolve types for $schema - string does not contain null (see https://psalm.dev/090)
Psalm
Process completed with exit code 2.