diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10e0394..c81f1c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: args: --coverage-text php_extensions: xdebug php_version: 7.3 + memory_limit: "192M" version: 9 env: XDEBUG_MODE: coverage @@ -40,6 +41,7 @@ jobs: args: --coverage-text php_extensions: xdebug php_version: 8.1 + memory_limit: "192M" version: 9 env: XDEBUG_MODE: coverage \ No newline at end of file diff --git a/README.md b/README.md index 4bbb3e0..76553ce 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ An SDK for Authorize.net, using Guzzle. ## Dependencies -PHP version >= 7.2 is required. +PHP version >= 7.3 is required. The following PHP extensions are required: * json diff --git a/composer.json b/composer.json index fc3713f..355c26d 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "keywords": ["authorizenet", "authorize.net", "payment", "ecommerce"], "require": { - "php": ">=7.2", + "php": ">=7.3", "ext-json": "*", "ext-simplexml": "*", "ext-xmlwriter": "*", diff --git a/tests/ARBCreateSubscriptionRequestTest.php b/tests/ARBCreateSubscriptionRequestTest.php index ad0dc56..5ced203 100644 --- a/tests/ARBCreateSubscriptionRequestTest.php +++ b/tests/ARBCreateSubscriptionRequestTest.php @@ -90,8 +90,8 @@ protected function cleanupSubscriptions() $response = $cancel->execute(); $this->assertEquals('Ok', $response->getResultCode()); $canceled_count++; - // Stop after canceling 100 subscriptions. - if ($canceled_count > 100) { + // Stop after canceling 50 subscriptions. + if ($canceled_count > 50) { break 2; } }