Skip to content

Added explicit int|false return type to a cli helper function #211

Added explicit int|false return type to a cli helper function

Added explicit int|false return type to a cli helper function #211

Triggered via push November 29, 2024 03:31
Status Success
Total duration 1m 9s
Artifacts

php.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

18 errors
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.1 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.1 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.2 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.3 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.3 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
MismatchingDocblockReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool|int', should be 'false|int' (see https://psalm.dev/142)
MixedInferredReturnType: src/scripts/cli-script-helper-functions.php#L221
src/scripts/cli-script-helper-functions.php:221:12: MixedInferredReturnType: Could not verify return type 'bool|int' for SlimMvcTools\Functions\CliHelpers\processTemplateFile (see https://psalm.dev/047)
PHP-8.2 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.