summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2021-08-14 12:16:50 +0200
committerDamien Regad <dregad@mantisbt.org>2021-08-15 11:19:41 +0200
commit20d7db9d8f11f578528771f00615530b06fff56e (patch)
tree87ccce62ec164749c2b328eb9ab5dbc520d5252b /tests
parentf9e7a7ef012aecc94bc25afa7db8e6c50bcf31d1 (diff)
downloadadodb-20d7db9d8f11f578528771f00615530b06fff56e.tar.gz
adodb-20d7db9d8f11f578528771f00615530b06fff56e.tar.bz2
adodb-20d7db9d8f11f578528771f00615530b06fff56e.zip
Composer: add PHPUnit 8.5 as dev requirement
The LibTest class was initially created for PHPUnit 7, which is no longer supported and incompatible with PHP 8. Adapting function signature to match parent class's definition (return type) means that ADOdb devs are now required to run PHP 7.2 or later to execute tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/LibTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/LibTest.php b/tests/LibTest.php
index 7948354f..4cf9a8f7 100644
--- a/tests/LibTest.php
+++ b/tests/LibTest.php
@@ -15,7 +15,7 @@ class LibTest extends TestCase
/** @var ADOConnection Database connection for tests */
private $db;
- public function setUp()
+ public function setUp(): void
{
$this->db = ADONewConnection('mysqli');
}