Skip to content

Apply fixes from StyleCI #1257

Apply fixes from StyleCI

Apply fixes from StyleCI #1257

Triggered via push May 24, 2024 14:41
Status Failure
Total duration 13m 23s
Artifacts

static.yml

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

Annotations

18 errors and 2 warnings
RedundantConditionGivenDocblockType: src/SqlToken.php#L99
src/SqlToken.php:99:13: RedundantConditionGivenDocblockType: Docblock-defined type Yiisoft\Db\Sqlite\SqlToken for $value is always Yiisoft\Db\Sqlite\SqlToken (see https://psalm.dev/156)
RedundantCastGivenDocblockType: src/SqlToken.php#L106
src/SqlToken.php:106:52: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
PHP 8.0
Process completed with exit code 2.
RedundantConditionGivenDocblockType: src/SqlToken.php#L99
src/SqlToken.php:99:13: RedundantConditionGivenDocblockType: Docblock-defined type Yiisoft\Db\Sqlite\SqlToken for $value is always Yiisoft\Db\Sqlite\SqlToken (see https://psalm.dev/156)
RedundantCastGivenDocblockType: src/SqlToken.php#L106
src/SqlToken.php:106:52: RedundantCastGivenDocblockType: Redundant cast to int given docblock-provided type (see https://psalm.dev/263)
PHP 8.1
Process completed with exit code 2.
PHP 8.3
The job was canceled because "ubuntu-latest_8_0" failed.
MissingClassConstType: src/Schema.php#L83
src/Schema.php:83:19: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\Schema::TYPE_MAP" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L24
src/SqlToken.php:24:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_CODE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L25
src/SqlToken.php:25:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_STATEMENT" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L26
src/SqlToken.php:26:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_TOKEN" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L27
src/SqlToken.php:27:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_PARENTHESIS" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L28
src/SqlToken.php:28:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_KEYWORD" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L29
src/SqlToken.php:29:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_OPERATOR" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L30
src/SqlToken.php:30:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_IDENTIFIER" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/SqlToken.php#L31
src/SqlToken.php:31:18: MissingClassConstType: Class constant "Yiisoft\Db\Sqlite\SqlToken::TYPE_STRING_LITERAL" should have a declared type. (see https://psalm.dev/359)
RedundantConditionGivenDocblockType: src/SqlToken.php#L99
src/SqlToken.php:99:13: RedundantConditionGivenDocblockType: Docblock-defined type Yiisoft\Db\Sqlite\SqlToken for $value is always Yiisoft\Db\Sqlite\SqlToken (see https://psalm.dev/156)
PHP 8.2
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.