Skip to content

Solves issue #607

Solves issue #607 #113

Triggered via pull request September 18, 2024 11:15
Status Failure
Total duration 42s
Artifacts

ci.yml

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

Annotations

9 errors
cs-stan / Coding Standard & Static Analysis: src/File/Path/Basepath/DefaultTrait.php (in context of class Josegonzalez/Upload/File/Path/DefaultProcessor)#L47
Parameter #1 $field of method Cake\Datasource\EntityInterface::get() expects string, array<int, string>|string given.
cs-stan / Coding Standard & Static Analysis: src/File/Path/DefaultProcessor.php#L1
Ignored error pattern #^Parameter \#1 \$field of method Cake\\Datasource\\EntityInterface\:\:get\(\) expects string, array\<string\>\|string given\.$# in path /home/runner/work/cakephp-upload/cakephp-upload/src/File/Path/DefaultProcessor.php was not matched in reported errors.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L107
Parameter #2 $excludedFields of method Cake\ORM\Query\SelectQuery<array|Cake\Datasource\EntityInterface>::selectAllExcept() expects array<int, string>, array<int, int|string> given.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L99
Class name \Cake\Event\EventInterface in @param should be referenced via a fully qualified name.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L100
Class name \Cake\ORM\Query\SelectQuery in @param should be referenced via a fully qualified name.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L101
Class name \ArrayObject in @param should be referenced via a fully qualified name.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L105
Method \Josegonzalez\Upload\Model\Behavior\UploadBehavior::beforeFind() does not have native return type hint for its return value but it should be possible to add it based on @return annotation "void".
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.