- Timestamp:
- 01/28/2019 02:10:24 PM (6 years ago)
- Location:
- trunk/tests/phpunit/includes/phpunit7
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/phpunit7/speed-trap-listener.php
r44700 r44701 55 55 * @param float $time 56 56 */ 57 public function addError( PHPUnit _Framework_Test $test, Exception $e, $time ){57 public function addError( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { 58 58 } 59 59 … … 66 66 * @since Method available since Release 5.1.0 67 67 */ 68 public function addWarning( PHPUnit _Framework_Test $test, PHPUnit_Framework_Warning $e, $time ){68 public function addWarning( PHPUnit\Framework\Test $test, PHPUnit\Framework\Warning $e, float $time ): void { 69 69 } 70 70 … … 76 76 * @param float $time 77 77 */ 78 public function addFailure( PHPUnit _Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time ){78 public function addFailure( PHPUnit\Framework\Test $test, PHPUnit\Framework\AssertionFailedError $e, float $time ): void { 79 79 } 80 80 … … 86 86 * @param float $time 87 87 */ 88 public function addIncompleteTest( PHPUnit _Framework_Test $test, Exception $e, $time ){88 public function addIncompleteTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { 89 89 } 90 90 … … 97 97 * @since Method available since Release 4.0.0 98 98 */ 99 public function addRiskyTest( PHPUnit _Framework_Test $test, Exception $e, $time ){99 public function addRiskyTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { 100 100 } 101 101 … … 107 107 * @param float $time 108 108 */ 109 public function addSkippedTest( PHPUnit _Framework_Test $test, Exception $e, $time ){109 public function addSkippedTest( PHPUnit\Framework\Test $test, Throwable $t, float $time ): void { 110 110 } 111 111 … … 115 115 * @param PHPUnit_Framework_Test $test 116 116 */ 117 public function startTest( PHPUnit _Framework_Test $test ){117 public function startTest( PHPUnit\Framework\Test $test ): void { 118 118 } 119 119 … … 124 124 * @param float $time 125 125 */ 126 public function endTest( PHPUnit _Framework_Test $test, $time ){126 public function endTest( PHPUnit\Framework\Test $test, float $time ): void { 127 127 if ( ! $test instanceof PHPUnit_Framework_TestCase ) { 128 128 return; … … 142 142 * @param PHPUnit_Framework_TestSuite $suite 143 143 */ 144 public function startTestSuite( PHPUnit _Framework_TestSuite $suite ){144 public function startTestSuite( PHPUnit\Framework\TestSuite $suite ): void { 145 145 $this->suites++; 146 146 } … … 151 151 * @param PHPUnit_Framework_TestSuite $suite 152 152 */ 153 public function endTestSuite( PHPUnit _Framework_TestSuite $suite ){153 public function endTestSuite( PHPUnit\Framework\TestSuite $suite ): void { 154 154 $this->suites--; 155 155
Note: See TracChangeset
for help on using the changeset viewer.