Update dev requirements and test suite for PHP 7+ only

This commit is contained in:
Ben Ramsey
2017-11-08 16:25:08 -06:00
parent 049d5acf7a
commit 5d7ee63f1c
28 changed files with 206 additions and 191 deletions
+3 -2
View File
@@ -28,7 +28,8 @@ class RandomLibAdapterTest extends TestCase
$generator = $this->getMockBuilder(Generator::class)
->disableOriginalConstructor()
->getMock();
new RandomLibAdapter($generator);
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter($generator));
}
/**
@@ -42,7 +43,7 @@ class RandomLibAdapterTest extends TestCase
->once()
->getMock();
new RandomLibAdapter();
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter());
}
public function testGenerateUsesGenerator()