phpunit/dbunit not installing for PHP8.1

274 views Asked by At

Previously I am using phpunit/dbunit version 3.0.3 for PHP7 version, Now I have upgraded PHP to 8.1 version, and I am unable to upgrade the dbunit to the PHP8.1 supporting version. I am getting the below error and my composer.json file is below. Please Can anyone tell me, does dbunit supports php8.1 version or How can I install the dbunit version that is supporting php8.1

"require-dev": { "phpunit/phpunit": "9.5.0", "phpunit/dbunit": "3.0.3"

},

enter image description here

1

There are 1 answers

2
francisco On

The package is abandoned and no longer maintained. Still the v3.0.3 requires the following:

php: ^7.0
ext-pdo: *
ext-simplexml: *
phpunit/phpunit: ^6.0
symfony/yaml: ^3.0 || ^4.0

Reference from packagist.