There was an error while loading. Please reload this page.
::class
1 parent b2923c0 commit da72c1fCopy full SHA for da72c1f
1 file changed
tests/TestCase.php
@@ -29,7 +29,7 @@ abstract class TestCase extends PolyfillTestCase
29
public static function createTestEnvironment()
30
{
31
// Make temp directory
32
- $class = substr(strrchr(get_called_class(), '\\'), 1);
+ $class = substr(strrchr(static::class, '\\'), 1);
33
static::$tempDir = sys_get_temp_dir() . '/PHPCSPluginTest/' . uniqid("{$class}_", true);
34
35
$subDirs = array(
0 commit comments