lstrojny / phpunit-clever-and-smart

Smarter test runner for PHPUnit
169 stars 13 forks source link

Executing phpuint prompt Interface'PHPUnit_Framework_TestListener' not found #40

Closed myadream closed 3 years ago

myadream commented 3 years ago

PHP 7.2.34-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct 6 2020 12:01:28) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.34-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

PHPUnit 7.5.20 by Sebastian Bergmann and contributors.


* error message
```txt
 PHP Fatal error:  Interface 'PHPUnit_Framework_TestListener' not found in /path/vendor/lstrojny/phpunit-clever-and-smart/src/PHPUnit/Runner/CleverAndSmart/TestListener.php on line 15

How can I solve the problem that PHPUnit_Framework_TestListener does not exist?