Skip to content

Update CI config

Update CI config #221

Triggered via push September 17, 2024 12:27
Status Failure
Total duration 49s
Artifacts

ci.yml

on: push
cs-stan  /  Coding Standard & Static Analysis
37s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite / testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 1 warning
cs-stan / Coding Standard & Static Analysis: src/Listener/ViewListener.php#L1
Ignored error pattern #^Parameter \#1 \$field of method CrudView\\Listener\\ViewListener\:\:_deriveFieldFromContext\(\) expects string, array\<string\>\|string\|null given\.$# in path /home/runner/work/crud-view/crud-view/src/Listener/ViewListener.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/Listener/ViewListener.php#L595
Parameter #1 $field of method CrudView\Listener\ViewListener::_deriveFieldFromContext() expects string, array<int, string>|string|null given.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L1
Ignored error pattern #^Binary operation "\+" between string and non\-empty\-array results in an error\.$# in path /home/runner/work/crud-view/crud-view/src/View/Widget/DateTimeWidget.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L1
Ignored error pattern #^Offset 'name' does not exist on array\<string\>\|string\|null\.$# in path /home/runner/work/crud-view/crud-view/src/View/Widget/DateTimeWidget.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L1
Ignored error pattern #^Offset 'templateVars' does not exist on array\<string\>\|string\|null\.$# in path /home/runner/work/crud-view/crud-view/src/View/Widget/DateTimeWidget.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L1
Ignored error pattern #^Parameter \#1 \$options of method Cake\\View\\StringTemplate\:\:formatAttributes\(\) expects array\<string, mixed\>\|null, array\<string\>\|string\|null given\.$# in path /home/runner/work/crud-view/crud-view/src/View/Widget/DateTimeWidget.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L129
Offset 'class' on array<int, string>|string|null in isset() does not exist.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L133
Offset 'datetimePicker' on array<int, string>|string|null in isset() does not exist.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L147
Offset 'name' does not exist on array<int, string>|string|null.
cs-stan / Coding Standard & Static Analysis: src/View/Widget/DateTimeWidget.php#L149
Offset 'templateVars' does not exist on array<int, string>|string|null.
RedundantFunctionCall: src/View/Cell/TablesListCell.php#L26
src/View/Cell/TablesListCell.php:26:13: RedundantFunctionCall: The call to ksort is unnecessary, list<string> is already a list (see https://psalm.dev/280)
InvalidArrayOffset: src/View/Widget/DateTimeWidget.php#L129
src/View/Widget/DateTimeWidget.php:129:23: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'class', expecting int<0, max> (see https://psalm.dev/115)
InvalidArrayOffset: src/View/Widget/DateTimeWidget.php#L133
src/View/Widget/DateTimeWidget.php:133:23: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'datetimePicker', expecting int<0, max> (see https://psalm.dev/115)
InvalidArrayOffset: src/View/Widget/DateTimeWidget.php#L147
src/View/Widget/DateTimeWidget.php:147:23: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'name', expecting int<0, max> (see https://psalm.dev/115)
InvalidArrayOffset: src/View/Widget/DateTimeWidget.php#L149
src/View/Widget/DateTimeWidget.php:149:31: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'templateVars', expecting int<0, max> (see https://psalm.dev/115)
InvalidArgument: src/View/Widget/DateTimeWidget.php#L151
src/View/Widget/DateTimeWidget.php:151:17: InvalidArgument: Argument 1 of Cake\View\StringTemplate::formatAttributes expects array<string, mixed>|null, but list<string>|null|string provided (see https://psalm.dev/004)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
testsuite / testsuite-linux (8.1, highest, false)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1