File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 18
18
},
19
19
"require-dev" : {
20
20
"doctrine/coding-standard" : " ^3.0" ,
21
- "phpunit/phpunit" : " ^6.3 " ,
21
+ "phpunit/phpunit" : " ^7.0 " ,
22
22
"phpunit/phpunit-mock-objects" : " !=3.2.4,!=3.2.5" ,
23
23
"symfony/console" : " ^2.0.5||^3.0" ,
24
- "symfony/phpunit-bridge" : " ^3.3 "
24
+ "symfony/phpunit-bridge" : " ^3.4.5|^4.0.5 "
25
25
},
26
26
"suggest" : {
27
27
"symfony/console" : " For helpful console commands such as SQL execution and import of files."
Original file line number Diff line number Diff line change 2
2
3
3
namespace Doctrine \Tests ;
4
4
5
+ use PHPUnit \Framework \Test ;
6
+ use PHPUnit \Framework \TestListener ;
7
+ use PHPUnit \Framework \TestListenerDefaultImplementation ;
8
+
5
9
/**
6
10
* Listener for collecting and reporting results of performance tests
7
11
*
8
12
* @author Bill Schaller
9
13
*/
10
- class DbalPerformanceTestListener extends \ PHPUnit \ Framework \BaseTestListener
14
+ class DbalPerformanceTestListener implements TestListener
11
15
{
16
+ use TestListenerDefaultImplementation;
12
17
/**
13
18
* @var string[][]
14
19
*/
@@ -17,7 +22,7 @@ class DbalPerformanceTestListener extends \PHPUnit\Framework\BaseTestListener
17
22
/**
18
23
* {@inheritdoc}
19
24
*/
20
- public function endTest (\ PHPUnit \ Framework \ Test $ test , $ time )
25
+ public function endTest (Test $ test , float $ time ) : void
21
26
{
22
27
// This listener only applies to performance tests.
23
28
if ($ test instanceof \Doctrine \Tests \DbalPerformanceTestCase)
You can’t perform that action at this time.
0 commit comments