Documentation :

emblem-notice-24.pngThis new major version requires PHP ≥ 7.2 and is not backward compatible with previous versions, so the package is designed to be installed beside version 5, 6 and 7.

Installation, Fedora:

dnf --enablerepo=remi install phpunit8

Installation, Enterprise Linux:

yum --enablerepo=remi install phpunit8

Notice: this tool is an essential component of PHP QA in Fedora. This version will soon be available in Fedora ≥ 29.