Skip to content

Commit 0c4e68e

Browse files
committed
test php8.3
1 parent c852f12 commit 0c4e68e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [ '7.1','7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
12+
php: [ '7.1','7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
1313

1414
name: PHP ${{ matrix.php }}
1515

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"prefer-stable": true,
5252
"config": {
5353
"allow-plugins": {
54-
"php-http/discovery": true
54+
"php-http/discovery": false
5555
}
5656
}
5757
}

src/Message/PurchaseRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
class PurchaseRequest extends AbstractRequest
1212
{
13-
use HasMerchant;
1413
use HasAmount;
14+
use HasMerchant;
1515
use HasPaymentInfo;
1616

1717
/**

src/Message/PurchaseResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PurchaseResponse extends AbstractResponse implements RedirectResponseInter
1717
/**
1818
* Constructor.
1919
*
20-
* @param PurchaseRequest $request the initiating request.
20+
* @param PurchaseRequest $request the initiating request.
2121
* @param mixed $data
2222
*/
2323
public function __construct(PurchaseRequest $request, $data)

src/Traits/HasPaymentInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ public function getPaymentInfoUrl()
2020
{
2121
return $this->getParameter('paymentInfoUrl');
2222
}
23-
}
23+
}

tests/GatewayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use Omnipay\Payware\Gateway;
66
use Omnipay\Payware\Message\AcceptNotificationRequest;
77
use Omnipay\Payware\Message\CompletePurchaseRequest;
8-
use Omnipay\Payware\Message\PurchaseRequest;
98
use Omnipay\Payware\Message\GetPaymentInfoRequest;
9+
use Omnipay\Payware\Message\PurchaseRequest;
1010
use Omnipay\Tests\GatewayTestCase;
1111

1212
class GatewayTest extends GatewayTestCase

0 commit comments

Comments
 (0)