commercetools / commercetools-php-sdk

The e-commerce SDK from commercetools for PHP.
https://docs.commercetools.com/sdk/php-sdk#php-sdk-v1
MIT License
43 stars 22 forks source link

test(unit): test php 8.1 #687

Closed jenschude closed 2 years ago

jenschude commented 2 years ago

fix deprecation warnings fix ecs for php 8.1

  1. code and add tests that cover the created code. Your code should be warning-free.
    • [ ] tests existing
  2. stick to PSR-2 and and don't reformat existing code.
    • [ ] code style check succesful
codecov-commenter commented 2 years ago

Codecov Report

Merging #687 (dacde60) into develop (f111ca0) will decrease coverage by 10.31%. The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff               @@
##             develop     #687       +/-   ##
==============================================
- Coverage      83.46%   73.14%   -10.32%     
- Complexity      5206     5208        +2     
==============================================
  Files           1191     1191               
  Lines          15339    15228      -111     
==============================================
- Hits           12803    11139     -1664     
- Misses          2536     4089     +1553     
Impacted Files Coverage Δ
src/Core/Helper/Annotate/AnnotationGenerator.php 0.00% <0.00%> (ø)
...ore/Model/Common/AbstractJsonDeserializeObject.php 92.42% <ø> (-0.33%) :arrow_down:
src/Core/Model/Common/Collection.php 97.36% <ø> (-0.88%) :arrow_down:
src/Core/Model/Common/Context.php 89.79% <ø> (ø)
src/Core/Model/Common/DateTimeDecorator.php 100.00% <ø> (ø)
src/Core/Model/Common/LocalizedString.php 96.22% <ø> (ø)
src/Core/Response/PagedQueryResponse.php 100.00% <ø> (ø)
src/Core/Request/Me/MeEndpoint.php 0.00% <0.00%> (-100.00%) :arrow_down:
src/Core/Client/ProviderFactory.php 0.00% <0.00%> (-100.00%) :arrow_down:
src/Core/Request/Me/MeGetRequest.php 0.00% <0.00%> (-100.00%) :arrow_down:
... and 302 more

Continue to review full report at Codecov.

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