Skip to content

Commit

Permalink
Deprecations for PHP 8.1 (#61)
Browse files Browse the repository at this point in the history
Deprecations for PHP 8.1 get_class() and get_called_class() without argument
  • Loading branch information
nkazarynava authored Apr 16, 2023
1 parent 9f16035 commit c27bbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DrupalFinderTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function tempdir($dir, $prefix = '', $mode = 0700)
$path = $dir . $prefix . mt_rand(0, 9999999);
} while (!mkdir($path, $mode));
register_shutdown_function(
[get_called_class(), 'tempdir_remove'],
[static::class, 'tempdir_remove'],
$path
);

Expand Down

0 comments on commit c27bbdf

Please sign in to comment.