Shardj/zf1-future

Test/PHPUnit/ is not compatible with PHP8 method signatures...

Opened this issue · 1 comments

To get PHPUnit working with DBUnit in PHP 8 I need to use a PHP8 compatible DBUnit fork, such as Kornrunner/dbunit. This package has return types in its method signatures that are not present in Test/PHPUnit.

sample error:

Fatal error: Declaration of Zend_Test_PHPUnit_Db_DataSet_QueryTable::loadData() must be compatible with Tests\Library\Vantage\PHPUnit\Db\Dataset\QueryTable::loadData(): void in /Users/jjjjj/projects/xxx/vendor/shardj/zf1-future/library/Zend/Test/PHPUnit/Db/DataSet/QueryTable.php on line 57

@jakemonO is this still the case, with the latest release, pls?