File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ public function setGroups(array $groups): void
941
941
public function getAnnotations (): array
942
942
{
943
943
return TestUtil::parseTestMethodAnnotations (
944
- get_class ( $ this ) ,
944
+ static ::class ,
945
945
$ this ->name
946
946
);
947
947
}
@@ -970,7 +970,7 @@ public function getName(bool $withDataSet = true): string
970
970
public function getSize (): int
971
971
{
972
972
return TestUtil::getSize (
973
- get_class ( $ this ) ,
973
+ static ::class ,
974
974
$ this ->getName (false )
975
975
);
976
976
}
@@ -1115,7 +1115,7 @@ public function runBare(): void
1115
1115
clearstatcache ();
1116
1116
$ currentWorkingDirectory = getcwd ();
1117
1117
1118
- $ hookMethods = TestUtil::getHookMethods (get_class ( $ this ) );
1118
+ $ hookMethods = TestUtil::getHookMethods (static ::class );
1119
1119
1120
1120
$ hasMetRequirements = false ;
1121
1121
@@ -1477,7 +1477,7 @@ public function sortId(): string
1477
1477
$ id = $ this ->name ;
1478
1478
1479
1479
if (strpos ($ id , ':: ' ) === false ) {
1480
- $ id = get_class ( $ this ) . ':: ' . $ id ;
1480
+ $ id = static ::class . ':: ' . $ id ;
1481
1481
}
1482
1482
1483
1483
if ($ this ->usesDataProvider ()) {
@@ -2029,7 +2029,7 @@ private function checkRequirements(): void
2029
2029
}
2030
2030
2031
2031
$ missingRequirements = TestUtil::getMissingRequirements (
2032
- get_class ( $ this ) ,
2032
+ static ::class ,
2033
2033
$ this ->name
2034
2034
);
2035
2035
You can’t perform that action at this time.
0 commit comments