From 02aa1cb63688f5775bbdd55eafedda887eb1a348 Mon Sep 17 00:00:00 2001 From: peter279k Date: Fri, 19 Jan 2024 10:07:23 +0800 Subject: [PATCH 1/2] Improve null and boolean assertions --- .../BitPaySDK/PayoutRecipientsClientTest.php | 8 ++++---- test/unit/BitPaySDK/ClientTest.php | 4 ++-- .../BitPaySDK/Exceptions/BitPayExceptionTest.php | 4 ++-- test/unit/BitPaySDK/Model/Bill/BillTest.php | 2 +- test/unit/BitPaySDK/Model/CurrencyTest.php | 8 ++++---- .../Model/Invoice/BuyerProvidedInfoTest.php | 2 +- .../BitPaySDK/Model/Invoice/ItemizedDetailsTest.php | 2 +- test/unit/BitPaySDK/Model/Invoice/RefundTest.php | 6 +++--- .../BitPaySDK/Model/Invoice/RefundWebhookTest.php | 6 +++--- .../Invoice/SupportedTransactionCurrencyTest.php | 2 +- test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php | 12 ++++++------ test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php | 4 ++-- 12 files changed, 30 insertions(+), 30 deletions(-) diff --git a/test/functional/BitPaySDK/PayoutRecipientsClientTest.php b/test/functional/BitPaySDK/PayoutRecipientsClientTest.php index d0f2351e..b72480f1 100644 --- a/test/functional/BitPaySDK/PayoutRecipientsClientTest.php +++ b/test/functional/BitPaySDK/PayoutRecipientsClientTest.php @@ -59,7 +59,7 @@ public function testGetPayoutRecipient() self::assertEquals('test@emaill1.com', $recipient->getEmail()); self::assertEquals('recipient1', $recipient->getLabel()); self::assertEquals('invited', $recipient->getStatus()); - self::assertEquals(null, $recipient->getShopperId()); + self::assertNull($recipient->getShopperId()); } public function testPayoutRecipientShouldCatchRestCliException(): void @@ -117,7 +117,7 @@ public function testDeletePayoutRecipient(): void $result = $this->client->deletePayoutRecipient($payoutRecipientId); - self::assertEquals(true, $result); + self::assertTrue($result); } public function testPayoutRecipientRequestNotification(): void @@ -135,6 +135,6 @@ public function testPayoutRecipientRequestNotification(): void $result = $this->client->requestPayoutRecipientNotification($payoutRecipientId); - self::assertEquals(true, $result); + self::assertTrue($result); } -} \ No newline at end of file +} diff --git a/test/unit/BitPaySDK/ClientTest.php b/test/unit/BitPaySDK/ClientTest.php index a0623f98..f7f2efac 100644 --- a/test/unit/BitPaySDK/ClientTest.php +++ b/test/unit/BitPaySDK/ClientTest.php @@ -3095,7 +3095,7 @@ public function testCancelInvoice() $result = $testedObject->cancelInvoice(self::TEST_INVOICE_ID, $params['forceCancel']); self::assertEquals(self::TEST_INVOICE_ID, $result->getId()); - self::assertEquals(true, $result->getIsCancelled()); + self::assertTrue($result->getIsCancelled()); } /** @@ -3149,7 +3149,7 @@ public function testCancelInvoiceByGuid() $result = $testedObject->cancelInvoiceByGuid(self::TEST_INVOICE_GUID, $params['forceCancel']); self::assertEquals(self::TEST_INVOICE_GUID, $result->getGuid()); self::assertEquals(self::TEST_INVOICE_ID, $result->getId()); - self::assertEquals(true, $result->getIsCancelled()); + self::assertTrue($result->getIsCancelled()); } /** diff --git a/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php b/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php index 8dcd0944..685bad79 100644 --- a/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php +++ b/test/unit/BitPaySDK/Exceptions/BitPayExceptionTest.php @@ -21,7 +21,7 @@ public function testDefaultApiCode() { $exception = $this->createClassObject(); - self::assertEquals(null, $exception->getApiCode()); + self::assertNull($exception->getApiCode()); } public function testDefaultCode() @@ -57,4 +57,4 @@ private function createClassObject() { return new BitPayException(); } -} \ No newline at end of file +} diff --git a/test/unit/BitPaySDK/Model/Bill/BillTest.php b/test/unit/BitPaySDK/Model/Bill/BillTest.php index f524a397..20e890ac 100644 --- a/test/unit/BitPaySDK/Model/Bill/BillTest.php +++ b/test/unit/BitPaySDK/Model/Bill/BillTest.php @@ -259,7 +259,7 @@ public function testToArray() self::assertEquals([''], $billArray['cc']); self::assertEquals('123456789', $billArray['phone']); self::assertEquals('2022-01-01', $billArray['dueDate']); - self::assertEquals(true, $billArray['passProcessingFee']); + self::assertTrue($billArray['passProcessingFee']); self::assertEquals('status', $billArray['status']); self::assertEquals('http://test.com', $billArray['url']); self::assertEquals('2022-01-01', $billArray['createDate']); diff --git a/test/unit/BitPaySDK/Model/CurrencyTest.php b/test/unit/BitPaySDK/Model/CurrencyTest.php index 6f7da423..c29fd66b 100644 --- a/test/unit/BitPaySDK/Model/CurrencyTest.php +++ b/test/unit/BitPaySDK/Model/CurrencyTest.php @@ -53,12 +53,12 @@ public function testToArray() self::assertEquals('BTC', $currencyArray['code']); self::assertEquals('Symbol', $currencyArray['symbol']); self::assertEquals(1, $currencyArray['precision']); - self::assertEquals(true, $currencyArray['currentlySettled']); + self::assertTrue($currencyArray['currentlySettled']); self::assertEquals('Bitcoin', $currencyArray['name']); self::assertEquals('plural', $currencyArray['plural']); self::assertEquals('alts', $currencyArray['alts']); self::assertEquals('minimum', $currencyArray['minimum']); - self::assertEquals(true, $currencyArray['sanctioned']); + self::assertTrue($currencyArray['sanctioned']); self::assertEquals('decimals', $currencyArray['decimals']); self::assertEquals(['test'], $currencyArray['payoutFields']); self::assertEquals(['test'], $currencyArray['settlementMinimum']); @@ -89,7 +89,7 @@ public function testGetCurrentlySettled() { $currency = $this->createClassObject(); $currency->setCurrentlySettled(true); - self::assertEquals(true, $currency->getCurrentlySettled()); + self::assertTrue($currency->getCurrentlySettled()); } public function testGetName() @@ -124,7 +124,7 @@ public function testGetSanctioned() { $currency = $this->createClassObject(); $currency->setSanctioned(true); - self::assertEquals(true, $currency->getSanctioned()); + self::assertTrue($currency->getSanctioned()); } public function testGetDecimals() diff --git a/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php b/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php index 605079d1..e319047c 100644 --- a/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php @@ -113,7 +113,7 @@ public function testToArray() self::assertEquals('example@bitpay.com', $buyerProvidedInfoArray['emailAddress']); self::assertEquals('BTC', $buyerProvidedInfoArray['selectedTransactionCurrency']); self::assertEquals('4445556666', $buyerProvidedInfoArray['sms']); - self::assertEquals(true, $buyerProvidedInfoArray['smsVerified']); + self::assertTrue($buyerProvidedInfoArray['smsVerified']); } public function testToArrayEmptyKey() diff --git a/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php b/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php index e2be088c..d83c99c4 100644 --- a/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php @@ -53,7 +53,7 @@ public function testToArray() self::assertEquals(15.5, $itemizedDetailsArray['amount']); self::assertEquals('Test description', $itemizedDetailsArray['description']); - self::assertEquals(true, $itemizedDetailsArray['isFee']); + self::assertTrue($itemizedDetailsArray['isFee']); } private function createClassObject(): ItemizedDetails diff --git a/test/unit/BitPaySDK/Model/Invoice/RefundTest.php b/test/unit/BitPaySDK/Model/Invoice/RefundTest.php index 9914a145..62a5b284 100644 --- a/test/unit/BitPaySDK/Model/Invoice/RefundTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/RefundTest.php @@ -175,11 +175,11 @@ public function testToArray() self::assertEquals('2022-01-01', $refundArray['requestDate']); self::assertEquals('pending', $refundArray['status']); self::assertEquals('11', $refundArray['invoiceId']); - self::assertEquals(true, $refundArray['preview']); - self::assertEquals(true, $refundArray['immediate']); + self::assertTrue($refundArray['preview']); + self::assertTrue($refundArray['immediate']); self::assertEquals(1.0, $refundArray['refundFee']); self::assertEquals('Invoice', $refundArray['invoice']); - self::assertEquals(true, $refundArray['buyerPaysRefundFee']); + self::assertTrue($refundArray['buyerPaysRefundFee']); self::assertEquals('Reference', $refundArray['reference']); self::assertEquals('Last refunded notification', $refundArray['lastRefundNotification']); } diff --git a/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php b/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php index 81ddbc74..213f949a 100644 --- a/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php @@ -138,8 +138,8 @@ public function testToArray() self::assertEquals('USD', $refundWebhookArray['currency']); self::assertEquals('2022-01-11T16:58:23.967Z', $refundWebhookArray['lastRefundNotification']); self::assertEquals(2.31, $refundWebhookArray['refundFee']); - self::assertEquals(false, $refundWebhookArray['immediate']); - self::assertEquals(true, $refundWebhookArray['buyerPaysRefundFee']); + self::assertFalse($refundWebhookArray['immediate']); + self::assertTrue($refundWebhookArray['buyerPaysRefundFee']); self::assertEquals('2022-01-11T16:58:23.000Z', $refundWebhookArray['requestDate']); } @@ -162,4 +162,4 @@ private function objectSetters(RefundWebhook $refundWebhook): void $refundWebhook->setBuyerPaysRefundFee(true); $refundWebhook->setRequestDate('2022-01-11T16:58:23.000Z'); } -} \ No newline at end of file +} diff --git a/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php b/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php index 70d93953..38e1016e 100644 --- a/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php @@ -42,7 +42,7 @@ public function testToArray() self::assertArrayHasKey('enabled', $supportedTransactionCurrencyArray); self::assertArrayHasKey('reason', $supportedTransactionCurrencyArray); - self::assertEquals(true, $supportedTransactionCurrencyArray['enabled']); + self::assertTrue($supportedTransactionCurrencyArray['enabled']); self::assertEquals("My reason", $supportedTransactionCurrencyArray['reason']); } diff --git a/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php b/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php index 1503b8cb..6803a609 100644 --- a/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php +++ b/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php @@ -100,14 +100,14 @@ public function testToArray() self::assertArrayHasKey('walletConnect', $currenciesArray); self::assertEquals('BTH', $currenciesArray['code']); - self::assertEquals(true, $currenciesArray['p2p']); - self::assertEquals(true, $currenciesArray['dappBrowser']); + self::assertTrue($currenciesArray['p2p']); + self::assertTrue($currenciesArray['dappBrowser']); self::assertEquals('https://bitpay.com/api/images/logo-6fa5404d.svg', $currenciesArray['image']); - self::assertEquals(true, $currenciesArray['paypro']); + self::assertTrue($currenciesArray['paypro']); self::assertEquals('BIP21', $currenciesArray['qr']['type']); - self::assertEquals(false, $currenciesArray['qr']['collapsed']); + self::assertFalse($currenciesArray['qr']['collapsed']); self::assertEquals('1.23', $currenciesArray['withdrawalFee']); - self::assertEquals(true, $currenciesArray['walletConnect']); + self::assertTrue($currenciesArray['walletConnect']); } private function createClassObject(): Currencies @@ -130,4 +130,4 @@ private function objectSetters(Currencies $currencies): void $currencies->setWithdrawalFee('1.23'); $currencies->setWalletConnect(true); } -} \ No newline at end of file +} diff --git a/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php b/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php index 9d62b402..86b1b7e8 100644 --- a/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php +++ b/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php @@ -42,7 +42,7 @@ public function testToArray() self::assertArrayHasKey('collapsed', $currencyQrArray); self::assertEquals('BIP21', $currencyQrArray['type']); - self::assertEquals(false, $currencyQrArray['collapsed']); + self::assertFalse($currencyQrArray['collapsed']); } private function createClassObject(): CurrencyQr @@ -55,4 +55,4 @@ private function objectSetters(CurrencyQr $currencyQr): void $currencyQr->setType('BIP21'); $currencyQr->setCollapsed(false); } -} \ No newline at end of file +} From e967d04df3dae3b75460d67b23b4a7271657eeb6 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Wed, 24 Jan 2024 15:30:25 +0100 Subject: [PATCH 2/2] SP-785 Bump PHP SDK to 8.0.3 --- composer.lock | 206 +++++++++++++++++++++++++------------------------- 1 file changed, 104 insertions(+), 102 deletions(-) diff --git a/composer.lock b/composer.lock index db7dcf5f..dadda3c7 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "bitpay/key-utils", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/bitpay/bitpay-php-keyutils.git", - "reference": "44283014751d1886b41c7de29f1972737d6dfe4d" + "reference": "2c9dc573e6fd13aa15578860097fbd06a3f3a5d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bitpay/bitpay-php-keyutils/zipball/44283014751d1886b41c7de29f1972737d6dfe4d", - "reference": "44283014751d1886b41c7de29f1972737d6dfe4d", + "url": "https://api.github.com/repos/bitpay/bitpay-php-keyutils/zipball/2c9dc573e6fd13aa15578860097fbd06a3f3a5d2", + "reference": "2c9dc573e6fd13aa15578860097fbd06a3f3a5d2", "shasum": "" }, "require": { @@ -52,28 +52,28 @@ "description": "BitPay Utils pack for cryptography", "support": { "issues": "https://github.com/bitpay/bitpay-php-keyutils/issues", - "source": "https://github.com/bitpay/bitpay-php-keyutils/tree/1.1.2" + "source": "https://github.com/bitpay/bitpay-php-keyutils/tree/1.1.3" }, - "time": "2023-06-15T19:11:27+00:00" + "time": "2024-01-18T20:44:01+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.7.0", + "version": "7.8.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "fb7566caccf22d74d1ab270de3551f72a58399f5" + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/fb7566caccf22d74d1ab270de3551f72a58399f5", - "reference": "fb7566caccf22d74d1ab270de3551f72a58399f5", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0", - "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -82,11 +82,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -164,7 +164,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.7.0" + "source": "https://github.com/guzzle/guzzle/tree/7.8.1" }, "funding": [ { @@ -180,28 +180,28 @@ "type": "tidelift" } ], - "time": "2023-05-21T14:04:53+00:00" + "time": "2023-12-03T20:35:24+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "3a494dc7dc1d7d12e511890177ae2d0e6c107da6" + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/3a494dc7dc1d7d12e511890177ae2d0e6c107da6", - "reference": "3a494dc7dc1d7d12e511890177ae2d0e6c107da6", + "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "type": "library", "extra": { @@ -247,7 +247,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.0" + "source": "https://github.com/guzzle/promises/tree/2.0.2" }, "funding": [ { @@ -263,20 +263,20 @@ "type": "tidelift" } ], - "time": "2023-05-21T13:50:22+00:00" + "time": "2023-12-03T20:19:20+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.5.0", + "version": "2.6.2", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "b635f279edd83fc275f822a1188157ffea568ff6" + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6", - "reference": "b635f279edd83fc275f822a1188157ffea568ff6", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", "shasum": "" }, "require": { @@ -290,9 +290,9 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -363,7 +363,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.5.0" + "source": "https://github.com/guzzle/psr7/tree/2.6.2" }, "funding": [ { @@ -379,7 +379,7 @@ "type": "tidelift" } ], - "time": "2023-04-17T16:11:26+00:00" + "time": "2023-12-03T20:05:35+00:00" }, { "name": "netresearch/jsonmapper", @@ -434,16 +434,16 @@ }, { "name": "psr/http-client", - "version": "1.0.2", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31", - "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { @@ -480,9 +480,9 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/1.0.2" + "source": "https://github.com/php-fig/http-client" }, - "time": "2023-04-10T20:12:12+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", @@ -705,16 +705,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { @@ -729,7 +729,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -767,7 +767,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -783,7 +783,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/yaml", @@ -863,30 +863,30 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "2.0.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -913,7 +913,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -929,7 +929,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:23:10+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "myclabs/deep-copy", @@ -992,25 +992,27 @@ }, { "name": "nikic/php-parser", - "version": "v4.17.1", + "version": "v5.0.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/php-parse" @@ -1018,7 +1020,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1042,9 +1044,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" }, - "time": "2023-08-13T19:53:39+00:00" + "time": "2024-01-07T17:17:35+00:00" }, { "name": "phar-io/manifest", @@ -1159,23 +1161,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.27", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -1225,7 +1227,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -1233,7 +1235,7 @@ "type": "github" } ], - "time": "2023-07-26T13:44:30+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1478,16 +1480,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.11", + "version": "9.6.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0" + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f", + "reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f", "shasum": "" }, "require": { @@ -1502,7 +1504,7 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-code-coverage": "^9.2.28", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -1561,7 +1563,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16" }, "funding": [ { @@ -1577,7 +1579,7 @@ "type": "tidelift" } ], - "time": "2023-08-19T07:10:56+00:00" + "time": "2024-01-19T07:03:14+00:00" }, { "name": "sebastian/cli-parser", @@ -1822,20 +1824,20 @@ }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -1867,7 +1869,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -1875,7 +1877,7 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", @@ -2149,20 +2151,20 @@ }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -2194,7 +2196,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -2202,7 +2204,7 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", @@ -2545,16 +2547,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -2583,7 +2585,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -2591,7 +2593,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" } ], "aliases": [], @@ -2605,5 +2607,5 @@ "ext-reflection": "*" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }