Skip to content

Update CI config

Update CI config #20

Triggered via pull request March 18, 2024 12:26
@ADmadADmad
opened #111
ci
Status Failure
Total duration 1m 24s
Artifacts

ci.yml

on: pull_request
Coding Standard & Static Analysis
30s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
Coding Standard & Static Analysis: src/Datasource/ResultSet.php#L73
PHPDoc tag @throws with type Cake\Database\Exception is not subtype of Throwable
Coding Standard & Static Analysis
Process completed with exit code 1.
ConfigIssue: psalm.xml#L3
psalm.xml:3:5: ConfigIssue: Attribute "totallyTyped" is deprecated and is going to be removed in the next major version (see https://psalm.dev/271)
DeprecatedMethod: src/Datasource/Query.php#L179
src/Datasource/Query.php:179:16: DeprecatedMethod: The method Cake\Datasource\QueryTrait::repository has been marked as deprecated (see https://psalm.dev/001)
LessSpecificImplementedReturnType: src/Datasource/Query.php#L265
src/Datasource/Query.php:265:16: LessSpecificImplementedReturnType: The inherited return type 'array<string, string>' for Cake\Datasource\QueryInterface::aliasField is more specific than the implemented return type for Muffin\Webservice\Datasource\Query::aliasfield 'array<array-key, mixed>' (see https://psalm.dev/166)
ParamNameMismatch: src/Datasource/Query.php#L399
src/Datasource/Query.php:399:28: ParamNameMismatch: Argument 1 of Muffin\Webservice\Datasource\Query::offset has wrong name $num, expecting $offset as defined by Cake\Datasource\QueryInterface::offset (see https://psalm.dev/230)
ImplementedReturnTypeMismatch: src/Datasource/ResultSet.php#L58
src/Datasource/ResultSet.php:58:16: ImplementedReturnTypeMismatch: The inherited return type '(TValue:Iterator as mixed)|null' for Iterator::current is different to the implemented return type for Muffin\Webservice\Datasource\ResultSet::current 'array<array-key, mixed>|object' (see https://psalm.dev/123)
ImplementedReturnTypeMismatch: src/Datasource/ResultSet.php#L117
src/Datasource/ResultSet.php:117:16: ImplementedReturnTypeMismatch: The inherited return type '(TKey:Iterator as mixed)|null' for Iterator::key is different to the implemented return type for Muffin\Webservice\Datasource\ResultSet::key 'int' (see https://psalm.dev/123)
LessSpecificImplementedReturnType: src/Datasource/Schema.php#L192
src/Datasource/Schema.php:192:16: LessSpecificImplementedReturnType: The inherited return type 'array<string, mixed>|null' for Cake\Datasource\SchemaInterface::getColumn is more specific than the implemented return type for Muffin\Webservice\Datasource\Schema::getcolumn 'array<array-key, mixed>|null' (see https://psalm.dev/166)
LessSpecificImplementedReturnType: src/Datasource/Schema.php#L292
src/Datasource/Schema.php:292:16: LessSpecificImplementedReturnType: The inherited return type 'array<string, string>' for Cake\Datasource\SchemaInterface::typeMap is more specific than the implemented return type for Muffin\Webservice\Datasource\Schema::typemap 'array<array-key, mixed>' (see https://psalm.dev/166)
LessSpecificImplementedReturnType: src/Datasource/Schema.php#L319
src/Datasource/Schema.php:319:16: LessSpecificImplementedReturnType: The inherited return type 'array<string, mixed>' for Cake\Datasource\SchemaInterface::defaultValues is more specific than the implemented return type for Muffin\Webservice\Datasource\Schema::defaultvalues 'array<array-key, mixed>' (see https://psalm.dev/166)
LessSpecificImplementedReturnType: src/Datasource/Schema.php#L373
src/Datasource/Schema.php:373:16: LessSpecificImplementedReturnType: The inherited return type 'array<string, mixed>' for Cake\Datasource\SchemaInterface::getOptions is more specific than the implemented return type for Muffin\Webservice\Datasource\Schema::getoptions 'array<array-key, mixed>' (see https://psalm.dev/166)
Coding Standard & Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Coding Standard & Static Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
testsuite (7.4, mysql)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
testsuite (7.4, mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/