Skip to content

Use stable yiisoft/hydrator #608

Use stable yiisoft/hydrator

Use stable yiisoft/hydrator #608

Triggered via push January 29, 2024 10:50
Status Failure
Total duration 31s
Artifacts

static.yml

on: push
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

15 errors
RiskyTruthyFalsyComparison: src/Command/BaseGenerateCommand.php#L123
src/Command/BaseGenerateCommand.php:123:13: RiskyTruthyFalsyComparison: Operand of type bool|mixed|null|string contains types mixed|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Controller/DefaultController.php#L95
src/Controller/DefaultController.php:95:35: RiskyTruthyFalsyComparison: Operand of type false|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)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L26
src/Generator/ActiveRecord/default/model.php:26:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'isAllowNull', expecting int (see https://psalm.dev/115)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L27
src/Generator/ActiveRecord/default/model.php:27:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'type', expecting int (see https://psalm.dev/115)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L28
src/Generator/ActiveRecord/default/model.php:28:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'name', expecting int (see https://psalm.dev/115)
UndefinedAttributeClass: src/Request/GeneratorRequest.php#L15
src/Request/GeneratorRequest.php:15:7: UndefinedAttributeClass: Attribute class Yiisoft\Hydrator\Temp\RouteArgument does not exist (see https://psalm.dev/241)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
RiskyTruthyFalsyComparison: src/Command/BaseGenerateCommand.php#L123
src/Command/BaseGenerateCommand.php:123:13: RiskyTruthyFalsyComparison: Operand of type bool|mixed|null|string contains types mixed|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Controller/DefaultController.php#L95
src/Controller/DefaultController.php:95:35: RiskyTruthyFalsyComparison: Operand of type false|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)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L26
src/Generator/ActiveRecord/default/model.php:26:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'isAllowNull', expecting int (see https://psalm.dev/115)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L27
src/Generator/ActiveRecord/default/model.php:27:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'type', expecting int (see https://psalm.dev/115)
InvalidArrayOffset: src/Generator/ActiveRecord/default/model.php#L28
src/Generator/ActiveRecord/default/model.php:28:9: InvalidArrayOffset: Cannot access value on variable $property using offset value of 'name', expecting int (see https://psalm.dev/115)
UndefinedAttributeClass: src/Request/GeneratorRequest.php#L15
src/Request/GeneratorRequest.php:15:7: UndefinedAttributeClass: Attribute class Yiisoft\Hydrator\Temp\RouteArgument does not exist (see https://psalm.dev/241)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.