mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
#5060: [PHP 8.3] Fix get_class()
deprecations
Fixes: https://github.com/e107inc/e107/pull/5060
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
@@ -134,6 +134,6 @@ class GitPreparer implements Preparer
|
||||
|
||||
protected function debug($message)
|
||||
{
|
||||
codecept_debug(get_class() . ': ' . $message);
|
||||
codecept_debug(__CLASS__ . ': ' . $message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user