Skip to content

fix bugs

fix bugs #385

Triggered via push September 21, 2023 11:35
Status Failure
Total duration 3m 47s
Artifacts

main.yml

on: push
autoformat
19s
autoformat
Matrix: code-tests
Matrix: codestyle-tests
Matrix: custom
Matrix: static-tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 8 warnings
autoformat
Process completed with exit code 127.
codestyle-tests (8.1)
Process completed with exit code 2.
static-tests (8.1): DataStorage/Session/JWT.php#L162
Parameter #2 $header of static method phpOMS\Session\JWT::createSignature() expects array{alg: string, typ: string}, array given.
static-tests (8.1): DataStorage/Session/JWT.php#L162
Parameter #3 $payload of static method phpOMS\Session\JWT::createSignature() expects array{sub: string, uid?: string, name?: string, iat: string}, array given.
static-tests (8.1): Localization/LanguageDetection/LanguageResult.php#L80
Property phpOMS\Localization\LanguageDetection\LanguageResult::$result (array<int, float|int>) does not accept array<int|string, float|int>.
static-tests (8.1): Localization/LanguageDetection/NgramParser.php#L105
Empty array passed to foreach.
static-tests (8.1): Math/Matrix/Vector.php#L104
Cannot access offset 0 on mixed.
static-tests (8.1): Math/Matrix/Vector.php#L104
Offset int<0, max> does not exist on phpOMS\Math\Matrix\Vector.
static-tests (8.1): Math/Topology/KernelsND.php#L61
Cannot call method mult() on float|int|phpOMS\Math\Matrix\Matrix.
static-tests (8.1): Math/Topology/KernelsND.php#L61
Cannot call method mult() on float|int|phpOMS\Math\Matrix\Matrix.
static-tests (8.1): Utils/ArrayUtils.php#L328
Method phpOMS\Utils\ArrayUtils::getArg() should return T|null but returns string|(T of mixed)|null.
static-tests (8.1)
Process completed with exit code 1.
code-tests (8.1)
Process completed with exit code 2.
autoformat
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
autoformat
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
codestyle-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
codestyle-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
static-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
static-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
code-tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
code-tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/