diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index fc39a5d..a5c4b3d 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -10,14 +10,23 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
- php: [8.1, 8.0]
- laravel: [9.*, 8.*]
+ php: [8.2, 8.1, 8.0]
+ laravel: [10.*, 9.*, 8.*]
dependency-version: [prefer-stable]
include:
+ - laravel: 10.*
+ testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
+ exclude:
+ - laravel: 10.*
+ php: 8.0
+ - laravel: 9.*
+ php: 8.2
+ - laravel: 8.*
+ php: 8.2
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
diff --git a/.gitignore b/.gitignore
index 531e03f..f2be032 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
.php_cs
.php_cs.cache
.phpunit.result.cache
+.phpunit.cache
.php-cs-fixer.cache
build
composer.lock
diff --git a/composer.json b/composer.json
index 511e37c..55d2175 100644
--- a/composer.json
+++ b/composer.json
@@ -12,13 +12,13 @@
"require": {
"php": "^8.0",
"guzzlehttp/guzzle": "^7.0.1",
- "illuminate/contracts": "^8.0|^9.0",
+ "illuminate/contracts": "^8.0|^9.0|^10.0",
"ext-json": "*",
"ext-openssl": "*"
},
"require-dev": {
- "orchestra/testbench": "^6.0",
- "phpunit/phpunit": "^9.3"
+ "orchestra/testbench": "^6.0|^8.0",
+ "phpunit/phpunit": "^9.3|^10.0"
},
"autoload": {
"psr-4": {
@@ -47,6 +47,6 @@
}
}
},
- "minimum-stability": "dev",
+ "minimum-stability": "stable",
"prefer-stable": true
}
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 73dd7dc..b0ed98a 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,31 +1,32 @@
-
-
-
- tests
-
-
-
-
- ./src
-
-
-
-
-
-
-
-
-
-
+
+
+ tests
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/phpunit.xml.dist.bak b/phpunit.xml.dist.bak
new file mode 100644
index 0000000..73dd7dc
--- /dev/null
+++ b/phpunit.xml.dist.bak
@@ -0,0 +1,31 @@
+
+
+
+
+ tests
+
+
+
+
+ ./src
+
+
+
+
+
+
+
+
+
+
+