1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

#5060: [PHP 8.3] Fix get_class() deprecations

Fixes: https://github.com/e107inc/e107/pull/5060
This commit is contained in:
Nick Liu
2023-08-14 18:05:02 +02:00
parent 96666f176f
commit 3c571a884e
2 changed files with 3 additions and 3 deletions

View File

@@ -24,14 +24,14 @@ class E107Preparer implements Preparer
if(is_dir($system))
{
throw new Exception(get_class() . " couldn't delete ".$system);
throw new Exception(__CLASS__ . " couldn't delete ".$system);
}
}
private function deleteDir($dirPath)
{
codecept_debug(get_class() . ' is deleting '.escapeshellarg($dirPath).'…');
codecept_debug(__CLASS__ . ' is deleting '.escapeshellarg($dirPath).'…');
if(!is_dir($dirPath))
{

View File

@@ -134,6 +134,6 @@ class GitPreparer implements Preparer
protected function debug($message)
{
codecept_debug(get_class() . ': ' . $message);
codecept_debug(__CLASS__ . ': ' . $message);
}
}