Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jakemonO opened this issue Apr 11, 2024 · 1 comment
Open

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

jakemonO opened this issue Apr 11, 2024 · 1 comment

Comments

@jakemonO
Copy link

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
@develart-projects
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants