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 @@ -942,7 +942,7 @@ public function setGroups(array $groups): void
942
942
public function getAnnotations (): array
943
943
{
944
944
return TestUtil::parseTestMethodAnnotations (
945
- get_class ( $ this ) ,
945
+ static ::class ,
946
946
$ this ->name
947
947
);
948
948
}
@@ -971,7 +971,7 @@ public function getName(bool $withDataSet = true): string
971
971
public function getSize (): int
972
972
{
973
973
return TestUtil::getSize (
974
- get_class ( $ this ) ,
974
+ static ::class ,
975
975
$ this ->getName (false )
976
976
);
977
977
}
@@ -1116,7 +1116,7 @@ public function runBare(): void
1116
1116
clearstatcache ();
1117
1117
$ currentWorkingDirectory = getcwd ();
1118
1118
1119
- $ hookMethods = TestUtil::getHookMethods (get_class ( $ this ) );
1119
+ $ hookMethods = TestUtil::getHookMethods (static ::class );
1120
1120
1121
1121
$ hasMetRequirements = false ;
1122
1122
@@ -1478,7 +1478,7 @@ public function sortId(): string
1478
1478
$ id = $ this ->name ;
1479
1479
1480
1480
if (strpos ($ id , ':: ' ) === false ) {
1481
- $ id = get_class ( $ this ) . ':: ' . $ id ;
1481
+ $ id = static ::class . ':: ' . $ id ;
1482
1482
}
1483
1483
1484
1484
if ($ this ->usesDataProvider ()) {
@@ -2030,7 +2030,7 @@ private function checkRequirements(): void
2030
2030
}
2031
2031
2032
2032
$ missingRequirements = TestUtil::getMissingRequirements (
2033
- get_class ( $ this ) ,
2033
+ static ::class ,
2034
2034
$ this ->name
2035
2035
);
2036
2036
You can’t perform that action at this time.
0 commit comments