Skip to content

Improve exceptions

Improve exceptions #22

Triggered via push October 26, 2023 01:22
Status Failure
Total duration 31s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
MoreSpecificReturnType: src/PrettyPrinter.php#L336
src/PrettyPrinter.php:336:16: MoreSpecificReturnType: The declared return type 'non-empty-string' for TypeLang\Printer\PrettyPrinter::printShapeFieldsNode is more specific than the inferred return type 'string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/PrettyPrinter.php#L341
src/PrettyPrinter.php:341:20: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'non-empty-string' for TypeLang\Printer\PrettyPrinter::printShapeFieldsNode (see https://psalm.dev/129)
Psalm (8.2, ubuntu-latest)
Process completed with exit code 2.
Psalm (8.2, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1, nick-invision/retry@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Psalm (8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/