Skip to content

Commit 78e6ff3

Browse files
author
C2P
committed
Merge branch 'release/0.5.11'
2 parents f6831ac + a54fd55 commit 78e6ff3

File tree

7 files changed

+292
-216
lines changed

7 files changed

+292
-216
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ jobs:
2525
- uses: php-actions/phpunit@v3
2626
with:
2727
configuration: ./phpunit.xml
28+
test_suffix: "Test.php"
2829

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ $request = (new CreateShipment())
439439
->setShippingChargesPayment((new ShippingChargesPayment())
440440
->setPaymentType('SENDER')
441441
)
442-
->setShipDatestamp(Carbon::now()->addDays(3)->format('Y-m-d'))
442+
->setShipDatestamp((new \DateTime())->add(new \DateInterval('P3D'))->format('Y-m-d'))
443443
->setLabel((new Label())
444444
->setLabelStockType(LabelStockType::_STOCK_4X6)
445445
->setImageType(ImageType::_PDF)
@@ -848,7 +848,7 @@ $request = (new CreateTagRequest())
848848
->setServiceType(ServiceType::_FEDEX_GROUND)
849849
->setPackagingType(PackagingType::_YOUR_PACKAGING)
850850
->setPickupType(PickupType::_DROPOFF_AT_FEDEX_LOCATION)
851-
->setShipDatestamp(Carbon::now()->addDays(3)->format('Y-m-d'))
851+
->setShipDatestamp((new \DateTime())->add(new \DateInterval('P3D'))->format('Y-m-d'))
852852
->setShipper(
853853
(new Person)
854854
->setPersonName('SHIPPER NAME')

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.5.10",
2+
"version": "0.5.11",
33
"name": "whatarmy/fedex-rest",
44
"description": "New FedEx Rest API wrapper",
55
"keywords": [
@@ -24,8 +24,7 @@
2424
"require": {
2525
"php": "^8.0",
2626
"ext-json": "*",
27-
"guzzlehttp/guzzle": "^5|^6|^7",
28-
"nesbot/carbon": "^2.65.0"
27+
"guzzlehttp/guzzle": "^5|^6|^7"
2928
},
3029
"minimum-stability": "stable",
3130
"autoload": {

0 commit comments

Comments
 (0)