diff options
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | tests/unit/Photo/PhotoGdTest.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/composer.json b/composer.json index c79a72a4c..cb14083f0 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ "desandro/imagesloaded": "^4.1" }, "require-dev" : { - "phpunit/phpunit" : "~7.5.9", + "phpunit/phpunit" : "@stable", "behat/behat" : "@stable", "behat/mink-extension": "@stable", "behat/mink-goutte-driver": "@stable", diff --git a/tests/unit/Photo/PhotoGdTest.php b/tests/unit/Photo/PhotoGdTest.php index 1d4f9467f..ae7382c43 100644 --- a/tests/unit/Photo/PhotoGdTest.php +++ b/tests/unit/Photo/PhotoGdTest.php @@ -26,7 +26,7 @@ class PhotoGdTest extends UnitTestCase { /** * Prepares the environment before running a test. */ - protected function setUp() { + protected function setUp(): void { parent::setUp(); $data = file_get_contents('images/hz-16.png'); @@ -37,7 +37,7 @@ class PhotoGdTest extends UnitTestCase { /** * Cleans up the environment after running a test. */ - protected function tearDown() { + protected function tearDown(): void { $this->photoGd = null; parent::tearDown(); |