Skip to content

Allowing no file in the PathProcessor #140

Allowing no file in the PathProcessor

Allowing no file in the PathProcessor #140

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

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
24s
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#L844
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#L796
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#L783
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#L768
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#L753
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#L744
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#L732
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#L723
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#L293
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#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#L166
Line exceeds 120 characters; contains 147 characters