diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 559591bf7489..ef17569537a7 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-18.04', 'ubuntu-20.04'] - php-versions: ['7.4','8.0'] + php-versions: ['7.4','8.0','8.1'] phpunit-versions: ['latest'] env: diff --git a/composer.json b/composer.json index 3d687fb3697c..877931817fe1 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ ], "type": "project", "require": { - "php": "^7.4|^8.0", + "php": "^7.4|^8", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", diff --git a/composer.lock b/composer.lock index b5973768c638..85f86f3316f1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "da1e6c59711334fd5dca75d2adb884d8", + "content-hash": "cd912a40faea3a658298daa4b17a7f25", "packages": [ { "name": "apimatic/jsonmapper", @@ -323,16 +323,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.204.5", + "version": "3.204.6", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "1f690db4dfd66d0c729f4f8db12431bb047b4900" + "reference": "59d4d6a58ed7da541aa0ed75cc1944f8d6ca2d1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/1f690db4dfd66d0c729f4f8db12431bb047b4900", - "reference": "1f690db4dfd66d0c729f4f8db12431bb047b4900", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/59d4d6a58ed7da541aa0ed75cc1944f8d6ca2d1c", + "reference": "59d4d6a58ed7da541aa0ed75cc1944f8d6ca2d1c", "shasum": "" }, "require": { @@ -408,9 +408,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.204.5" + "source": "https://github.com/aws/aws-sdk-php/tree/3.204.6" }, - "time": "2021-11-24T19:13:34+00:00" + "time": "2021-11-26T19:18:52+00:00" }, { "name": "bacon/bacon-qr-code", @@ -1735,36 +1735,38 @@ }, { "name": "doctrine/dbal", - "version": "3.1.4", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "821b4f01a36ce63ed36c090ea74767b72db367e9" + "reference": "5d54f63541d7bed1156cb5c9b79274ced61890e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/821b4f01a36ce63ed36c090ea74767b72db367e9", - "reference": "821b4f01a36ce63ed36c090ea74767b72db367e9", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/5d54f63541d7bed1156cb5c9b79274ced61890e4", + "reference": "5d54f63541d7bed1156cb5c9b79274ced61890e4", "shasum": "" }, "require": { "composer/package-versions-deprecated": "^1.11.99", - "doctrine/cache": "^1.0|^2.0", + "doctrine/cache": "^1.11|^2.0", "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.0", - "php": "^7.3 || ^8.0" + "php": "^7.3 || ^8.0", + "psr/cache": "^1|^2|^3", + "psr/log": "^1|^2|^3" }, "require-dev": { "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "1.1.1", - "phpstan/phpstan-strict-rules": "^1", + "phpstan/phpstan": "1.2.0", + "phpstan/phpstan-strict-rules": "^1.1", "phpunit/phpunit": "9.5.10", "psalm/plugin-phpunit": "0.16.1", "squizlabs/php_codesniffer": "3.6.1", "symfony/cache": "^5.2|^6.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.12.0" + "vimeo/psalm": "4.13.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -1824,7 +1826,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.1.4" + "source": "https://github.com/doctrine/dbal/tree/3.2.0" }, "funding": [ { @@ -1840,7 +1842,7 @@ "type": "tidelift" } ], - "time": "2021-11-15T16:44:33+00:00" + "time": "2021-11-26T21:00:12+00:00" }, { "name": "doctrine/deprecations", @@ -4589,16 +4591,16 @@ }, { "name": "league/flysystem", - "version": "1.1.6", + "version": "1.1.7", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287" + "reference": "3ca8f158ee21efa4bbd4f74bea5730c9b9261e2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/627be7fcde84c71aa0f15097fcf48fd5f2be5287", - "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3ca8f158ee21efa4bbd4f74bea5730c9b9261e2d", + "reference": "3ca8f158ee21efa4bbd4f74bea5730c9b9261e2d", "shasum": "" }, "require": { @@ -4671,7 +4673,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.6" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.7" }, "funding": [ { @@ -4679,7 +4681,7 @@ "type": "other" } ], - "time": "2021-11-21T11:04:36+00:00" + "time": "2021-11-25T19:40:58+00:00" }, { "name": "league/flysystem-aws-s3-v3", @@ -6427,16 +6429,16 @@ }, { "name": "php-http/client-common", - "version": "2.4.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/php-http/client-common.git", - "reference": "29e0c60d982f04017069483e832b92074d0a90b2" + "reference": "d135751167d57e27c74de674d6a30cef2dc8e054" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/29e0c60d982f04017069483e832b92074d0a90b2", - "reference": "29e0c60d982f04017069483e832b92074d0a90b2", + "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054", + "reference": "d135751167d57e27c74de674d6a30cef2dc8e054", "shasum": "" }, "require": { @@ -6447,14 +6449,14 @@ "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0", - "symfony/options-resolver": "^2.6 || ^3.4.20 || ~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0", + "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0", "symfony/polyfill-php80": "^1.17" }, "require-dev": { "doctrine/instantiator": "^1.1", "guzzlehttp/psr7": "^1.4", "nyholm/psr7": "^1.2", - "phpspec/phpspec": "^5.1 || ^6.0", + "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", "phpspec/prophecy": "^1.10.2", "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3" }, @@ -6496,9 +6498,9 @@ ], "support": { "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.4.0" + "source": "https://github.com/php-http/client-common/tree/2.5.0" }, - "time": "2021-07-05T08:19:25+00:00" + "time": "2021-11-26T15:01:24+00:00" }, { "name": "php-http/discovery", @@ -12585,16 +12587,16 @@ }, { "name": "facade/ignition", - "version": "2.17.0", + "version": "2.17.1", "source": { "type": "git", "url": "https://github.com/facade/ignition.git", - "reference": "28d12b473ffcbe326959385772fd5125c73bc974" + "reference": "317f6110c1977b50e06365bbb155fbe5079035ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/28d12b473ffcbe326959385772fd5125c73bc974", - "reference": "28d12b473ffcbe326959385772fd5125c73bc974", + "url": "https://api.github.com/repos/facade/ignition/zipball/317f6110c1977b50e06365bbb155fbe5079035ec", + "reference": "317f6110c1977b50e06365bbb155fbe5079035ec", "shasum": "" }, "require": { @@ -12659,7 +12661,7 @@ "issues": "https://github.com/facade/ignition/issues", "source": "https://github.com/facade/ignition" }, - "time": "2021-11-24T08:47:21+00:00" + "time": "2021-11-25T10:26:30+00:00" }, { "name": "facade/ignition-contracts", @@ -15611,7 +15613,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^7.4|^8.0", + "php": "^7.4|^8", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*" diff --git a/tests/Feature/CreditTest.php b/tests/Feature/CreditTest.php index 9a6e078d4ac7..372602ec8669 100644 --- a/tests/Feature/CreditTest.php +++ b/tests/Feature/CreditTest.php @@ -71,7 +71,7 @@ class CreditTest extends TestCase public function testCreditRESTEndPoints() { $response = $this->withHeaders([ - 'X-API-SECRET' => config('ninja.api_secret'), + 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token, ])->get('/api/v1/credits/'.$this->encodePrimaryKey($this->credit->id));