Skip to content

catch error during createOrder #2066

catch error during createOrder

catch error during createOrder #2066

Triggered via push April 4, 2025 11:45
Status Success
Total duration 2m 22s
Artifacts 3

development.yml

on: push
Matrix: install_shop_with_module
Matrix: styles
Matrix: unit_tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
styles (8.0): src/Service/Payment.php#L1
Ignored error pattern #^Method OxidSolutionCatalysts\\PayPal\\Service\\Payment\:\:doCreatePayPalOrder\(\) should return OxidSolutionCatalysts\\PayPalApi\\Model\\Orders\\Order but returns array\|OxidSolutionCatalysts\\PayPalApi\\Model\\Orders\\Order\.$# in path /home/runner/work/paypal-module/paypal-module/source/test-module/src/Service/Payment.php was not matched in reported errors.
styles (8.0): src/Service/Payment.php#L1
Ignored error pattern #^Variable \$payPalOrderId might not be defined\.$# in path /home/runner/work/paypal-module/paypal-module/source/test-module/src/Service/Payment.php was not matched in reported errors.
styles (8.0): src/Service/Payment.php#L688
Cannot access property $status on OxidSolutionCatalysts\PayPalApi\Model\Orders\Order|null.
styles (8.0)
No files were found with the provided path: source/test-module/tests/reports/phpstan.report.json source/test-module/tests/reports/phpmd.report.json. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
TestsLog-7.4 Expired
5.01 KB
sha256:80df72c0d7538ee510d778afcf3676a077995d76346fcfd37baad68ddd1bd9d2
TestsLog-8.0 Expired
5.03 KB
sha256:263d463b23e8a0752ee63aebc02a20ad96b2b711db32ad6e401dea7a8ef15fef
TestsLog-8.1 Expired
5.02 KB
sha256:6d4236c591ace922a84a44451c612d624e4a201d12888458f965e14c927362e7