diff --git a/composer.json b/composer.json index 5676909..aedcce7 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "consistence/coding-standard": "^0.12.0", "slevomat/coding-standard": "^1.1", "phing/phing": "^2.15", - "phpunit/phpunit": "^5.6", - "phpstan/phpstan": "^0.5.1", + "phpunit/phpunit": "^6.0.6", + "phpstan/phpstan": "^0.6.3", "guzzlehttp/guzzle": "^6.2", "composer/ca-bundle": "^1.0" }, diff --git a/tests/SlevomatEET/Cryptography/CryptographyServiceTest.php b/tests/SlevomatEET/Cryptography/CryptographyServiceTest.php index cc3e696..25b8284 100644 --- a/tests/SlevomatEET/Cryptography/CryptographyServiceTest.php +++ b/tests/SlevomatEET/Cryptography/CryptographyServiceTest.php @@ -90,7 +90,7 @@ public function testWSESignatureWithInvalidPrivateKeyPassword() 'invalid' ); - $this->expectException(\PHPUnit_Framework_Error::class); + $this->expectException(\PHPUnit\Framework\Error\Error::class); $this->expectExceptionMessage('openssl_sign(): supplied key param cannot be coerced into a private key'); $crypto->addWSESignature($request); }