File tree Expand file tree Collapse file tree 11 files changed +22
-63
lines changed Expand file tree Collapse file tree 11 files changed +22
-63
lines changed Original file line number Diff line number Diff line change 1010use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1111use PhpSchool \PhpWorkshop \ExerciseDispatcher ;
1212use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
13- use PHPUnit_Framework_TestCase ;
13+ use PHPUnit \ Framework \ TestCase ;
1414use Symfony \Component \Filesystem \Filesystem ;
1515
1616/**
17- * Class ArrayWeGoTest
18- * @package PhpSchool\LearnYouPhpTest\Exercise
1917 * @author Michael Woodward <[email protected] > 2018 */
21- class ArrayWeGoTest extends PHPUnit_Framework_TestCase
19+ class ArrayWeGoTest extends TestCase
2220{
2321
2422 /**
Original file line number Diff line number Diff line change 55
66use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
77use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
8- use PHPUnit_Framework_TestCase ;
8+ use PHPUnit \ Framework \ TestCase ;
99use PhpSchool \LearnYouPhp \Exercise \BabySteps ;
1010
1111/**
12- * Class BabyStepsTest
13- * @package PhpSchool\LearnYouPhpTest\Exercise
1412 * @author Aydin Hassan <[email protected] > 1513 */
16- class BabyStepsTest extends PHPUnit_Framework_TestCase
14+ class BabyStepsTest extends TestCase
1715{
1816 public function testHelloWorldExercise ()
1917 {
Original file line number Diff line number Diff line change 99use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1010use PhpSchool \PhpWorkshop \Input \Input ;
1111use PhpSchool \PhpWorkshop \Result \Failure ;
12- use PhpSchool \PhpWorkshop \Result \FailureInterface ;
1312use PhpSchool \PhpWorkshop \Result \Success ;
1413use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
15- use PHPUnit_Framework_TestCase ;
14+ use PHPUnit \ Framework \ TestCase ;
1615use Symfony \Component \Filesystem \Filesystem ;
1716
1817/**
19- * Class ConcernedAboutSeparationTest
20- * @package PhpSchool\LearnYouPhpTest\Exercise
2118 * @author Aydin Hassan <[email protected] > 2219 */
23- class ConcernedAboutSeparationTest extends PHPUnit_Framework_TestCase
20+ class ConcernedAboutSeparationTest extends TestCase
2421{
2522 /**
2623 * @var Filesystem
Original file line number Diff line number Diff line change 1010use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1111use PhpSchool \PhpWorkshop \ExerciseDispatcher ;
1212use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
13- use PHPUnit_Framework_TestCase ;
13+ use PHPUnit \ Framework \ TestCase ;
1414
1515/**
16- * Class DatabaseReadTest
17- * @package PhpSchool\LearnYouPhpTest\Exercise
1816 * @author Aydin Hassan <[email protected] > 1917 */
20- class DatabaseReadTest extends PHPUnit_Framework_TestCase
18+ class DatabaseReadTest extends TestCase
2119{
2220 /**
2321 * @var Generator
Original file line number Diff line number Diff line change 99use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1010use PhpSchool \PhpWorkshop \ExerciseDispatcher ;
1111use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
12- use PHPUnit_Framework_TestCase ;
12+ use PHPUnit \ Framework \ TestCase ;
1313use Psr \Http \Message \RequestInterface ;
1414
1515/**
16- * Class DependencyHeavenTest
17- * @package PhpSchool\LearnYouPhpTest\Exercise
1816 * @author Michael Woodward <[email protected] > 1917 */
20- class DependencyHeavenTest extends PHPUnit_Framework_TestCase
18+ class DependencyHeavenTest extends TestCase
2119{
2220
2321 /**
Original file line number Diff line number Diff line change 1010use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1111use PhpSchool \PhpWorkshop \ExerciseDispatcher ;
1212use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
13- use PHPUnit_Framework_TestCase ;
14- use PhpSchool \LearnYouPhp \Exercise \MyFirstIo ;
13+ use PHPUnit \Framework \TestCase ;
1514use Symfony \Component \Filesystem \Filesystem ;
1615
1716/**
18- * Class ExceptionalCodingTest
19- * @package PhpSchool\LearnYouPhpTest\Exercise
2017 * @author Michael Woodward <[email protected] > 2118 */
22- class ExceptionalCodingTest extends PHPUnit_Framework_TestCase
19+ class ExceptionalCodingTest extends TestCase
2320{
2421
2522 /**
Original file line number Diff line number Diff line change 55
66use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
77use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
8- use PHPUnit_Framework_TestCase ;
8+ use PHPUnit \ Framework \ TestCase ;
99use PhpSchool \LearnYouPhp \Exercise \FilteredLs ;
1010use Symfony \Component \Filesystem \Filesystem ;
1111
1212/**
13- * Class FilteredLsTest
14- * @package PhpSchool\LearnYouPhpTest\Exercise
1513 * @author Aydin Hassan <[email protected] > 1614 */
17- class FilteredLsTest extends PHPUnit_Framework_TestCase
15+ class FilteredLsTest extends TestCase
1816{
1917
2018 /**
Original file line number Diff line number Diff line change 55
66use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
77use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
8- use PHPUnit_Framework_TestCase ;
8+ use PHPUnit \ Framework \ TestCase ;
99use PhpSchool \LearnYouPhp \Exercise \HelloWorld ;
1010
1111/**
12- * Class HelloWorldTest
13- * @package PhpSchool\LearnYouPhpTest\Exercise
1412 * @author Aydin Hassan <[email protected] > 1513 */
16- class HelloWorldTest extends PHPUnit_Framework_TestCase
14+ class HelloWorldTest extends TestCase
1715{
1816 public function testHelloWorldExercise ()
1917 {
Original file line number Diff line number Diff line change 33
44namespace PhpSchool \LearnYouPhpTest \Exercise ;
55
6- use Faker \Factory ;
7- use Faker \Generator ;
8- use PhpSchool \LearnYouPhp \Exercise \ArrayWeGo ;
96use PhpSchool \LearnYouPhp \Exercise \HttpJsonApi ;
107use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
118use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
12- use PHPUnit_Framework_TestCase ;
13- use PhpSchool \LearnYouPhp \Exercise \MyFirstIo ;
9+ use PHPUnit \Framework \TestCase ;
1410use Psr \Http \Message \RequestInterface ;
15- use Symfony \Component \Filesystem \Filesystem ;
1611
1712/**
18- * Class HttpJsonApiTest
19- * @package PhpSchool\LearnYouPhpTest\Exercise
2013 * @author Aydin Hassan <[email protected] > 2114 */
22- class HttpJsonApiTest extends PHPUnit_Framework_TestCase
15+ class HttpJsonApiTest extends TestCase
2316{
2417 public function testHttpJsonApiExercise ()
2518 {
Original file line number Diff line number Diff line change 99use PhpSchool \PhpWorkshop \Exercise \ExerciseType ;
1010use PhpSchool \PhpWorkshop \ExerciseDispatcher ;
1111use PhpSchool \PhpWorkshop \Solution \SolutionInterface ;
12- use PHPUnit_Framework_TestCase ;
12+ use PHPUnit \ Framework \ TestCase ;
1313use PhpSchool \LearnYouPhp \Exercise \MyFirstIo ;
1414use Symfony \Component \Filesystem \Filesystem ;
1515
1616/**
17- * Class MyFirstIoTest
18- * @package PhpSchool\LearnYouPhpTest\Exercise
1917 * @author Aydin Hassan <[email protected] > 2018 */
21- class MyFirstIoTest extends PHPUnit_Framework_TestCase
19+ class MyFirstIoTest extends TestCase
2220{
2321
2422 /**
You can’t perform that action at this time.
0 commit comments