Skip to content

Add "dev" to composer.json keywords #607

Add "dev" to composer.json keywords

Add "dev" to composer.json keywords #607

Triggered via push January 22, 2024 17:26
Status Failure
Total duration 42s
Artifacts

static.yml

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

Annotations

12 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)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
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)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.