Update dependencies and fix PHPUnit tests

This commit is contained in:
sephster
2019-06-27 12:54:22 +01:00
parent bac79a26a8
commit e3b23fa826
11 changed files with 288 additions and 502 deletions

View File

@@ -7,11 +7,10 @@ use PHPUnit\Framework\TestCase;
class CryptKeyTest extends TestCase
{
/**
* @expectedException \LogicException
*/
public function testNoFile()
{
$this->expectException(\LogicException::class);
new CryptKey('undefined file');
}

View File

@@ -10,7 +10,7 @@ class CryptTraitTest extends TestCase
{
protected $cryptStub;
protected function setUp()
protected function setUp(): void
{
$this->cryptStub = new CryptTraitStub();
}