<?php

namespace Foo\Bar\Tests;

use PHPUnit\Framework\TestCase;

class ExampleTest extends TestCase
{

}

<?php

namespace Foo\Bar\Tests;

class ExampleTest extends \PHPUnit_Framework_TestCase
{

}

--- 
+++ 
@@ -2,7 +2,9 @@
 
 namespace Foo\Bar\Tests;
 
-class ExampleTest extends \PHPUnit_Framework_TestCase
+use PHPUnit\Framework\TestCase;
+
+class ExampleTest extends TestCase
 {
 
 }
Update PHPUnit Example Test stub to correctly reference the PHPUnit TestCase class.
