Skip to content

Allowing no file in the PathProcessor #139

Allowing no file in the PathProcessor

Allowing no file in the PathProcessor #139

Triggered via pull request April 14, 2025 13:02
Status Failure
Total duration 56s
Artifacts

ci.yml

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

Annotations

13 errors and 1 warning
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: src/File/Path/DefaultProcessor.php#L0
Ignored error pattern #^Parameter \#1 \$field of method Cake\\Datasource\\EntityInterface\:\:get\(\) expects string, array\<int, 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/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<string>|string given.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Model/Behavior/UploadBehaviorTest.php#L48
Multi-line function calls must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Model/Behavior/UploadBehaviorTest.php#L33
Multi-line function calls must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/File/Transformer/DefaultTransformerTest.php#L32
Multi-line function calls must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/File/Writer/DefaultWriterTest.php#L43
Multi-line function calls must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: tests/Stub/ChildBehavior.php#L19
Multi-line function declaration must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L287
Multi-line function calls must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L265
Multi-line function declaration must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L230
Multi-line function declaration must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L209
Multi-line function declaration must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/File/Transformer/TransformerInterface.php#L26
Multi-line function declaration must have a trailing comma after the last parameter.
cs-stan / Coding Standard & Static Analysis: src/Model/Behavior/UploadBehavior.php#L166
Line exceeds 120 characters; contains 147 characters