Skip to content

Commit 991abdf

Browse files
authored
Merge pull request #23 from binary-cats/patch-1-laravel-1o
- Update phpunit configuration - Update dependencies to allow Laravel 10
2 parents d55b244 + b70b3dc commit 991abdf

File tree

3 files changed

+19
-29
lines changed

3 files changed

+19
-29
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
All notable changes to `laravel-mailgun-webhooks` will be documented in this file
44

5+
## 9.2.0 - 2023-04-08
6+
7+
- Add Laravel 10 integration
8+
59
## 9.1.0 - 2022-01-26
610

711
- Drop support for PHP 7
8-
- Upgrade spatie/laravel-webhook-client to version 2.0
12+
- Upgrade spatie/laravel-webhook-client to version 3.0
913
- Test Laravel 9 integration
1014

1115
## 9.0.0 - 2022-01-20

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
],
2020
"require": {
2121
"php": "^8.0",
22-
"illuminate/support": "^8.0|^9.0",
22+
"illuminate/support": "^8.0|^9.0|^10.0",
2323
"spatie/laravel-webhook-client": "^3.0"
2424
},
2525
"require-dev": {
26-
"orchestra/testbench": "^6.0|^7.0",
27-
"phpunit/phpunit": "^9.4"
26+
"orchestra/testbench": "^6.0|^7.0|^8.0",
27+
"phpunit/phpunit": "^9.4|^10.0"
2828
},
2929
"autoload": {
3030
"psr-4": {
@@ -40,7 +40,6 @@
4040
"binary-cats/laravel-lob-webhooks": "^9.0"
4141
},
4242
"scripts": {
43-
"analyze": "./vendor/bin/phpstan analyse src --memory-limit=2G",
4443
"coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html coverage -d pcov.enabled",
4544
"test": "./vendor/bin/phpunit --color=always -vvv"
4645
},

phpunit.xml

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
3+
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
54
bootstrap="vendor/autoload.php"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="true"
11-
stopOnFailure="false"
12-
verbose="true"
13-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
5+
colors="true">
6+
<testsuites>
7+
<testsuite name="Unit">
8+
<directory suffix="Test.php">./tests</directory>
9+
</testsuite>
10+
<testsuite name="Tests">
11+
<directory suffix="Test.php">./tests</directory>
12+
</testsuite>
13+
</testsuites>
1414
<coverage>
1515
<include>
16-
<directory suffix=".php">src/</directory>
16+
<directory suffix=".php">./src</directory>
1717
</include>
18-
<report>
19-
<clover outputFile="build/logs/clover.xml"/>
20-
<html outputDirectory="build/coverage"/>
21-
<text outputFile="build/coverage.txt"/>
22-
</report>
2318
</coverage>
24-
<testsuites>
25-
<testsuite name="Binary Cats Test Suite">
26-
<directory>tests</directory>
27-
</testsuite>
28-
</testsuites>
29-
<logging>
30-
<junit outputFile="build/report.junit.xml"/>
31-
</logging>
3219
</phpunit>

0 commit comments

Comments
 (0)