Class 'PHPUnit_Framework_TestCase' not found in vendor

PHP
add to declaration: use PHPUnit\Framework\TestCase
replace "extends PHPUnit_Framework_TestCase" with "extends TestCase"
Source

Also in PHP: