From bc71f627be83ee8b2d1b13a6ca31074a8fda17b1 Mon Sep 17 00:00:00 2001 From: Andreas Schantl Date: Thu, 6 Apr 2023 11:43:04 +0200 Subject: [PATCH] Laravel 10 Support --- .phpunit.cache/test-results | 1 + .phpunit.result.cache | 2 +- composer.json | 10 +++---- phpunit.xml.dist | 58 +++++++++++++------------------------ phpunit.xml.dist.bak | 39 +++++++++++++++++++++++++ 5 files changed, 66 insertions(+), 44 deletions(-) create mode 100644 .phpunit.cache/test-results create mode 100644 phpunit.xml.dist.bak diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..240202c --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":1,"defects":[],"times":{"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature":0.046,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::route_exists":0.003,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature_no_secret_set":0,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::deploy_scripts_exists":0}} \ No newline at end of file diff --git a/.phpunit.result.cache b/.phpunit.result.cache index 2065b0b..0617be1 100644 --- a/.phpunit.result.cache +++ b/.phpunit.result.cache @@ -1 +1 @@ -{"version":1,"defects":[],"times":{"SchantlDev\\GitWebhook\\Tests\\WebhookTest::deploy_scripts_exists":0.006,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::route_exists":0.045,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature_no_secret_set":0.212,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature":0.015}} \ No newline at end of file +{"version":1,"defects":[],"times":{"SchantlDev\\GitWebhook\\Tests\\WebhookTest::deploy_scripts_exists":0.007,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::route_exists":0.004,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature_no_secret_set":0,"SchantlDev\\GitWebhook\\Tests\\WebhookTest::try_with_signature":0.018}} \ No newline at end of file diff --git a/composer.json b/composer.json index 8e76925..23c5de0 100755 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "^8.0|^8.1", - "illuminate/support": "^8.0 || ^9.0" + "php": "^8.1", + "illuminate/support": "^10.0" }, "require-dev": { - "orchestra/testbench": "^6.0", - "phpunit/phpunit": "^9.0" + "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": { @@ -47,4 +47,4 @@ ] } } -} \ No newline at end of file +} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 01d6da8..194616b 100755 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,21 @@ - - - - tests - - - - - ./src - - - - - - - - - - - \ No newline at end of file + + + + tests + + + + + ./src + + + + + + + + + + + diff --git a/phpunit.xml.dist.bak b/phpunit.xml.dist.bak new file mode 100644 index 0000000..01d6da8 --- /dev/null +++ b/phpunit.xml.dist.bak @@ -0,0 +1,39 @@ + + + + + tests + + + + + ./src + + + + + + + + + + + \ No newline at end of file