Documentation :

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

Installation, Fedora:

dnf --enablerepo=remi install phpunit7

Installation, Enterprise Linux:

yum --enablerepo=remi install phpunit7

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