Skip to content

Update Serve.php

Update Serve.php #721

Triggered via pull request June 24, 2024 08:47
@vjikvjik
synchronize #210
marin-welcome
Status Failure
Total duration 30s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Matrix: psalm80 / psalm
Fit to window
Zoom out
Zoom in

Annotations

17 errors
PossiblyNullArgument: src/Command/Serve.php#L99
src/Command/Serve.php:99:50: PossiblyNullArgument: Argument 1 of substr cannot be null, possibly null value provided (see https://psalm.dev/078)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
PossiblyNullArgument: src/Command/Serve.php#L99
src/Command/Serve.php:99:50: PossiblyNullArgument: Argument 1 of substr cannot be null, possibly null value provided (see https://psalm.dev/078)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
PossiblyNullArgument: src/Command/Serve.php#L99
src/Command/Serve.php:99:50: PossiblyNullArgument: Argument 1 of substr cannot be null, possibly null value provided (see https://psalm.dev/078)
psalm80 / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
PossiblyNullArgument: src/Command/Serve.php#L99
src/Command/Serve.php:99:50: PossiblyNullArgument: Argument 1 of substr cannot be null, possibly null value provided (see https://psalm.dev/078)
MissingClassConstType: src/ExitCode.php#L35
src/ExitCode.php:35:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::OK" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L40
src/ExitCode.php:40:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::UNSPECIFIED_ERROR" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L46
src/ExitCode.php:46:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::USAGE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L52
src/ExitCode.php:52:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::DATAERR" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L59
src/ExitCode.php:59:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::NOINPUT" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L65
src/ExitCode.php:65:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::NOUSER" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L71
src/ExitCode.php:71:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::NOHOST" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L78
src/ExitCode.php:78:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::UNAVAILABLE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/ExitCode.php#L84
src/ExitCode.php:84:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\ExitCode::SOFTWARE" should have a declared type. (see https://psalm.dev/359)