aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--tests/unit/Photo/PhotoGdTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index cb14083f0..c79a72a4c 100644
--- a/composer.json
+++ b/composer.json
@@ -44,7 +44,7 @@
"desandro/imagesloaded": "^4.1"
},
"require-dev" : {
- "phpunit/phpunit" : "@stable",
+ "phpunit/phpunit" : "~7.5.9",
"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 ae7382c43..1d4f9467f 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(): void {
+ protected function setUp() {
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(): void {
+ protected function tearDown() {
$this->photoGd = null;
parent::tearDown();