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 2020}
2121
2222// 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 )) {
2424 return ;
2525}
2626
2727// Enforce a consistent locale
2828setlocale (\LC_ALL , 'C ' );
2929
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 ' )) {
3232 AnnotationRegistry::registerUniqueLoader ('class_exists ' );
3333 } else {
3434 AnnotationRegistry::registerLoader ('class_exists ' );
You can’t perform that action at this time.
0 commit comments