File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
}
21
21
22
22
// Detect if we're loaded by an actual run of phpunit
23
- if (!defined ('PHPUNIT_COMPOSER_INSTALL ' ) && !class_exists (' PHPUnit\TextUI\Command ' , false )) {
23
+ if (!defined ('PHPUNIT_COMPOSER_INSTALL ' ) && !class_exists (\ PHPUnit \TextUI \Command::class , false )) {
24
24
return ;
25
25
}
26
26
27
27
// Enforce a consistent locale
28
28
setlocale (\LC_ALL , 'C ' );
29
29
30
- if (!class_exists (' Doctrine\Common\Annotations\ AnnotationRegistry' , false ) && class_exists (' Doctrine\Common\Annotations\ AnnotationRegistry' )) {
31
- if (method_exists (' Doctrine\Common\Annotations\ AnnotationRegistry' , 'registerUniqueLoader ' )) {
30
+ if (!class_exists (AnnotationRegistry::class , false ) && class_exists (AnnotationRegistry::class )) {
31
+ if (method_exists (AnnotationRegistry::class , 'registerUniqueLoader ' )) {
32
32
AnnotationRegistry::registerUniqueLoader ('class_exists ' );
33
33
} else {
34
34
AnnotationRegistry::registerLoader ('class_exists ' );
You can’t perform that action at this time.
0 commit comments