File tree 3 files changed +3
-3
lines changed
src/Symfony/Bridge/PhpUnit
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
use PHPUnit \Framework \TestSuite ;
17
17
use PHPUnit \Framework \Warning ;
18
18
19
- if (class_exists ('PHPUnit_Framework_BaseTestListener ' ) && ! class_exists ( ' PHPUnit\Framework\BaseTestListener ' ) ) {
19
+ if (class_exists ('PHPUnit_Framework_BaseTestListener ' )) {
20
20
class_alias ('Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListener ' , 'Symfony\Bridge\PhpUnit\SymfonyTestsListener ' );
21
21
22
22
return ;
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \TextUI \Command as BaseCommand ;
15
15
16
- if (class_exists ('PHPUnit_TextUI_Command ' ) && ! class_exists ( ' PHPUnit\TextUI\Command ' ) ) {
16
+ if (class_exists ('PHPUnit_TextUI_Command ' )) {
17
17
class_alias ('Symfony\Bridge\PhpUnit\Legacy\Command ' , 'Symfony\Bridge\PhpUnit\TextUI\Command ' );
18
18
19
19
return ;
Original file line number Diff line number Diff line change 14
14
use PHPUnit \TextUI \TestRunner as BaseRunner ;
15
15
use Symfony \Bridge \PhpUnit \SymfonyTestsListener ;
16
16
17
- if (class_exists ('PHPUnit_TextUI_Command ' ) && ! class_exists ( ' PHPUnit\TextUI\Command ' ) ) {
17
+ if (class_exists ('PHPUnit_TextUI_Command ' )) {
18
18
class_alias ('Symfony\Bridge\PhpUnit\Legacy\TestRunner ' , 'Symfony\Bridge\PhpUnit\TextUI\TestRunner ' );
19
19
20
20
return ;
You can’t perform that action at this time.
0 commit comments