Fix #205: Use annotations in README command example #699
static.yml
on: pull_request
Matrix: psalm / psalm
Matrix: psalm80 / psalm
Annotations
12 errors
MissingClassConstType:
src/Application.php#L22
src/Application.php:22:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\Application::NAME" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Application.php#L23
src/Application.php:23:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\Application::VERSION" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Command/Serve.php#L28
src/Command/Serve.php:28:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\Command\Serve::EXIT_CODE_NO_DOCUMENT_ROOT" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Command/Serve.php#L29
src/Command/Serve.php:29:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\Command\Serve::EXIT_CODE_NO_ROUTING_FILE" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Command/Serve.php#L30
src/Command/Serve.php:30:18: MissingClassConstType: Class constant "Yiisoft\Yii\Console\Command\Serve::EXIT_CODE_ADDRESS_TAKEN_BY_ANOTHER_PROCESS" should have a declared type. (see https://psalm.dev/359)
|
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)
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_3" failed.
|
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
|