diff --git a/composer.json b/composer.json
index fac5fa3..cad0a4c 100644
--- a/composer.json
+++ b/composer.json
@@ -31,7 +31,7 @@
},
"require-dev": {
"ext-openssl": "*",
- "phpunit/phpunit": "^8 || ^9",
+ "phpunit/phpunit": "^9 || ^10",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "~3.5"
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 8d08955..2487bec 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -2,16 +2,16 @@
-
-
- src
-
-
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
tests
vendor
+
+
+ src
+
+
diff --git a/tests/src/XeroProviderTest.php b/tests/src/XeroProviderTest.php
index 055bb8a..7701b73 100644
--- a/tests/src/XeroProviderTest.php
+++ b/tests/src/XeroProviderTest.php
@@ -41,7 +41,7 @@ public function testGetValidScopes(array $expected, ?string $api = ''): void
/**
* @return array
*/
- public function validScopesProvider(): array
+ public static function validScopesProvider(): array
{
return [
[['offline_access'], null],
@@ -143,7 +143,7 @@ public function testGetResponseMessage(array $data, string $expected): void
*
* @return array
*/
- public function provideResponseData(): array
+ public static function provideResponseData(): array
{
return [
'invalid client' => [['error' => 'invalid_client'], 'Invalid client credentials'],