@@ -7,11 +7,11 @@ class Randomizer
77 /**
88 * Order the TestSuite tests in a random order.
99 *
10- * @param \PHPUnit_Framework_Test $suite The suite to randomize.
10+ * @param \PHPUnit\Framework\Test $suite The suite to randomize.
1111 * @param integer $seed Seed used for PHP to randomize the suite.
12- * @return \PHPUnit_Framework_Test
12+ * @return \PHPUnit\Framework\Test
1313 */
14- public function randomizeTestSuite (\PHPUnit_Framework_Test $ suite , $ seed )
14+ public function randomizeTestSuite (\PHPUnit \ Framework \ Test $ suite , $ seed )
1515 {
1616 if ($ this ->testSuiteContainsOtherSuites ($ suite ))
1717 {
@@ -30,7 +30,7 @@ public function randomizeTestSuite(\PHPUnit_Framework_Test $suite, $seed)
3030 *
3131 * @param [type] $suite Main Test Suite to randomize.
3232 * @param [type] $seed Seed to use.
33- * @return \PHPUnit_Framework_Test
33+ * @return \PHPUnit\Framework\Test
3434 */
3535 private function randomizeSuiteThatContainsOtherSuites ($ suite , $ seed )
3636 {
@@ -45,23 +45,23 @@ private function randomizeSuiteThatContainsOtherSuites($suite, $seed)
4545 /**
4646 * Test Suites can contain other Test Suites or just Test Cases.
4747 *
48- * @param \PHPUnit_Framework_Test $suite [description]
48+ * @param \PHPUnit\Framework\Test $suite [description]
4949 * @return Boolean
5050 */
5151 private function testSuiteContainsOtherSuites ($ suite )
5252 {
5353 $ tests = $ suite ->tests ();
54- return isset ($ tests [0 ]) && $ tests [0 ] instanceof \PHPUnit_Framework_TestSuite ;
54+ return isset ($ tests [0 ]) && $ tests [0 ] instanceof \PHPUnit \ Framework \TestSuite ;
5555 }
5656
5757 /**
5858 * Randomize the test cases inside a TestSuite, with the given seed.
5959 *
60- * @param \PHPUnit_Framework_Test $suite Test suite to randomize.
60+ * @param \PHPUnit\Framework\Test $suite Test suite to randomize.
6161 * @param integer $seed Seed to be used for the random funtion.
6262 * @param integer $order Arbitrary value to "salt" the seed.
6363 * @param bool $fix_depends [=false]
64- * @return \PHPUnit_Framework_Test
64+ * @return \PHPUnit\Framework\Test
6565 */
6666 private function randomizeSuite ($ suite , $ seed , $ order = 0 , $ fix_depends = true )
6767 {
0 commit comments