diff --git a/.gitignore b/.gitignore index 9c3ed49..6e6540b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ composer.lock docs vendor .phpunit.result.cache +.phpunit.cache diff --git a/composer.json b/composer.json index 6337c56..06123c6 100644 --- a/composer.json +++ b/composer.json @@ -21,19 +21,18 @@ "require": { "php": "^8.1", "ext-curl": "*", - "lib-curl": ">=7.46.0", - "ext-openssl": "*", - "lib-openssl": ">=1.0.2.5", + "ext-intl": "*", "ext-json": "*", + "ext-openssl": "*", "ext-xml": "*", - "ext-intl": "*", - "web-token/jwt-signature-algorithm-ecdsa": "^3.0", - "web-token/jwt-key-mgmt": "^3.0" + "lib-curl": ">=7.46.0", + "lib-openssl": ">=1.0.2.5", + "web-token/jwt-library": "^3.0" }, "require-dev": { "ext-xdebug": "*", "php-coveralls/php-coveralls": "^2.0", - "phpunit/phpunit": "^8.4", + "phpunit/phpunit": "^10.5", "squizlabs/php_codesniffer": "^3.4" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 73aad27..dd429bf 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,31 @@ - - - - tests - - - - - src/ - - - - - - - - - + stopOnFailure="false" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" + cacheDirectory=".phpunit.cache" + backupStaticProperties="false"> + + + + + + + + + + tests + + + + + + + + src/ + + diff --git a/tests/NotificationTest.php b/tests/NotificationTest.php index e6c31a1..d43f5b0 100644 --- a/tests/NotificationTest.php +++ b/tests/NotificationTest.php @@ -16,7 +16,7 @@ use Pushok\Notification; use Pushok\Payload; -class MessageTest extends TestCase +class NotificationTest extends TestCase { public function testGetDeviceToken() {