Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Updated dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
janlanger committed Apr 7, 2020
1 parent 381ef62 commit 4c9da11
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"require-dev": {
"composer/ca-bundle": "^1.0",
"consistence/coding-standard": "3.10",
"grogy/php-parallel-lint": "^1.1",
"guzzlehttp/guzzle": "^6.3.3",
"phing/phing": "2.16.3",
"phpstan/phpstan": "0.12.10",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan": "0.12.18",
"phpstan/phpstan-phpunit": "0.12.6",
"phpunit/phpunit": "8.5.2",
"slevomat/coding-standard": "6.1.5 as 6.0.99",
"phpunit/phpunit": "^8.5.2",
"slevomat/coding-standard": "6.2.0 as 6.0.99",
"squizlabs/php_codesniffer": "3.5.4"
},
"autoload": {
Expand Down
6 changes: 3 additions & 3 deletions tests/SlevomatEET/Cryptography/CryptographyServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use DateTimeImmutable;
use DateTimeZone;
use PHPUnit\Framework\Error\Error;
use PHPUnit\Framework\TestCase;
use SlevomatEET\Formatter;
use Throwable;
use function base64_encode;

class CryptographyServiceTest extends TestCase
Expand Down Expand Up @@ -37,7 +37,7 @@ public function testGetCodes(): void
* @param string $publicKeyPath
* @param string $expectedExceptionType
*
* @phpstan-param class-string<\Throwable> $expectedExceptionType
* @phpstan-param class-string<Throwable> $expectedExceptionType
*/
public function testInvalidKeyPaths(string $privateKeyPath, string $publicKeyPath, string $expectedExceptionType): void
{
Expand Down Expand Up @@ -111,7 +111,7 @@ public function testWSESignatureWithInvalidPrivateKeyPassword(): void
$request = $this->getRequestData();
$crypto = $this->createCryptographyServiceWithPassword('invalid');

$this->expectException(Error::class);
$this->expectError();
$this->expectExceptionMessage('openssl_sign(): supplied key param cannot be coerced into a private key');
$crypto->addWSESignature($request);
}
Expand Down

0 comments on commit 4c9da11

Please sign in to comment.