Skip to content

Read PascalCase fields of ResponseShipments errors - #107

Open
fgtb599 wants to merge 1 commit into
firstred:v2.0.xfrom
fgtb599:fix-shipment-errors-case
Open

fgtb599 wants to merge 1 commit into
firstred:v2.0.xfrom
fgtb599:fix-shipment-errors-case

Conversation

@fgtb599

@fgtb599 fgtb599 commented Nov 30, 2026

Copy link
Copy Markdown

Reads Code/Description/Message (PascalCase, as returned by the PostNL Shipping API) in the ResponseShipments[].Errors[] branch of AbstractRestResponseProcessor::validateResponse(), keeping the lowercase names as a fallback.

@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.21%. Comparing base (7bc7ef1) to head (c786fe1).
⚠️ Report is 10 commits behind head on v2.0.x.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             v2.0.x     #107      +/-   ##
============================================
+ Coverage     69.11%   69.21%   +0.10%     
+ Complexity     2214     2212       -2     
============================================
  Files           124      124              
  Lines          6446     6348      -98     
============================================
- Hits           4455     4394      -61     
+ Misses         1991     1954      -37     
Files with missing lines Coverage Δ
...seProcessor/Rest/AbstractRestResponseProcessor.php 57.14% <100.00%> (+0.21%) ⬆️

... and 42 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e790bec...c786fe1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant