Skip to content

Commit bc71f62

Browse files
committed
Laravel 10 Support
1 parent 21a9656 commit bc71f62

5 files changed

Lines changed: 66 additions & 44 deletions

File tree

.phpunit.cache/test-results

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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}}

.phpunit.result.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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}}
1+
{"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}}

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0|^8.1",
20-
"illuminate/support": "^8.0 || ^9.0"
19+
"php": "^8.1",
20+
"illuminate/support": "^10.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^6.0",
24-
"phpunit/phpunit": "^9.0"
23+
"orchestra/testbench": "^8.0",
24+
"phpunit/phpunit": "^10.0"
2525
},
2626
"autoload": {
2727
"psr-4": {
@@ -47,4 +47,4 @@
4747
]
4848
}
4949
}
50-
}
50+
}

phpunit.xml.dist

Lines changed: 20 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
bootstrap="vendor/autoload.php"
8-
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
14-
executionOrder="random"
15-
failOnWarning="true"
16-
failOnRisky="true"
17-
failOnEmptyTestSuite="true"
18-
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
20-
>
21-
<testsuites>
22-
<testsuite name="VendorName Test Suite">
23-
<directory>tests</directory>
24-
</testsuite>
25-
</testsuites>
26-
<coverage>
27-
<include>
28-
<directory suffix=".php">./src</directory>
29-
</include>
30-
<report>
31-
<html outputDirectory="build/coverage"/>
32-
<text outputFile="build/coverage.txt"/>
33-
<clover outputFile="build/logs/clover.xml"/>
34-
</report>
35-
</coverage>
36-
<logging>
37-
<junit outputFile="build/report.junit.xml"/>
38-
</logging>
39-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="VendorName Test Suite">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<coverage>
9+
<include>
10+
<directory suffix=".php">./src</directory>
11+
</include>
12+
<report>
13+
<html outputDirectory="build/coverage"/>
14+
<text outputFile="build/coverage.txt"/>
15+
<clover outputFile="build/logs/clover.xml"/>
16+
</report>
17+
</coverage>
18+
<logging>
19+
<junit outputFile="build/report.junit.xml"/>
20+
</logging>
21+
</phpunit>

phpunit.xml.dist.bak

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
backupGlobals="false"
6+
backupStaticAttributes="false"
7+
bootstrap="vendor/autoload.php"
8+
colors="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
processIsolation="false"
13+
stopOnFailure="false"
14+
executionOrder="random"
15+
failOnWarning="true"
16+
failOnRisky="true"
17+
failOnEmptyTestSuite="true"
18+
beStrictAboutOutputDuringTests="true"
19+
verbose="true"
20+
>
21+
<testsuites>
22+
<testsuite name="VendorName Test Suite">
23+
<directory>tests</directory>
24+
</testsuite>
25+
</testsuites>
26+
<coverage>
27+
<include>
28+
<directory suffix=".php">./src</directory>
29+
</include>
30+
<report>
31+
<html outputDirectory="build/coverage"/>
32+
<text outputFile="build/coverage.txt"/>
33+
<clover outputFile="build/logs/clover.xml"/>
34+
</report>
35+
</coverage>
36+
<logging>
37+
<junit outputFile="build/report.junit.xml"/>
38+
</logging>
39+
</phpunit>

0 commit comments

Comments
 (0)