File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed
src/BigCommerceLegacyApi/ResourceModels/Order
tests/BigCommerce/Api/CustomTemplateAssociations Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - uses : actions/checkout@v2
1515
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ' 7.4'
20+
1621 - name : Validate composer.json and composer.lock
1722 run : composer validate
1823
Original file line number Diff line number Diff line change 11.idea /
2- vendor /
2+ vendor /
3+ .phpdoc
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ $brands = $api->catalog()->brands()->getAll()->getBrands();
162162## Development
163163
164164- Running tests: ` composer run-script test `
165- - Checking PHP style rules: ` composer run-scruot check-style `
165+ - Checking PHP style rules: ` composer run-script check-style `
166166- Auto fix code style rules: ` composer run-script fix-style `
167167
168168### Writing Tests
Original file line number Diff line number Diff line change 1- ### Changes
1+ ### Fixes
22
3- - The JSON output from ResourceModels will no longer include the ` $optionObject ` that was used to construct them.
3+ - Fix invalid namespace in a test class (@AymericPlanche )
4+ - Fix PHP compatibility issue in LegacyAPI class #90 (@AymericPlanche )
45
5- ### New Features
6-
7- - Implement Store Information endpoints
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Order extends ResourceModel
4545 public int $ status_id ;
4646 public string $ base_handling_cost ;
4747 public string $ base_shipping_cost ;
48- public string | float | int $ base_wrapping_cost ;
48+ public string $ base_wrapping_cost ;
4949
5050 public OrderBillingAddress $ billing_address ;
5151
@@ -68,7 +68,7 @@ class Order extends ResourceModel
6868 public int $ items_total ;
6969 public bool $ order_is_digital ;
7070 public string $ payment_method ;
71- public string | int | float $ payment_provider_id ;
71+ public string $ payment_provider_id ;
7272 public string $ refunded_amount ;
7373 public string $ shipping_cost_ex_tax ;
7474 public string $ shipping_cost_inc_tax ;
Original file line number Diff line number Diff line change 11<?php
22
3- namespace BigCommerce \Tests \Api \CustomTemplateAssociation ;
3+ namespace BigCommerce \Tests \Api \CustomTemplateAssociations ;
44
55use BigCommerce \ApiV3 \Api \CustomTemplateAssociations \CustomTemplateAssociationsApi ;
66use BigCommerce \ApiV3 \ResourceModels \CustomTemplateAssociation \CustomTemplateAssociation ;
You can’t perform that action at this time.
0 commit comments