Skip to content

Commit b731785

Browse files
committed
Double quote
1 parent e40c43c commit b731785

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SPC/store/SourceManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function initSource(?array $sources = null, ?array $libs = null, ?
6666
$check = LockFile::getExtractPath($lock_name, SOURCE_PATH . '/' . $source);
6767
// $check = $lock[$lock_name]['move_path'] === null ? (SOURCE_PATH . '/' . $source) : (SOURCE_PATH . '/' . $lock[$lock_name]['move_path']);
6868
if (!is_dir($check)) {
69-
logger()->debug('Extracting source [' . $source . '] to ' . $check . ' ...');
69+
logger()->debug("Extracting source [{$source}] to {$check} ...");
7070
$filename = LockFile::getLockFullPath($lock_content);
7171
FileSystem::extractSource($source, $lock_content['source_type'], $filename, $check);
7272
LockFile::putLockSourceHash($lock_content, $check);
@@ -81,14 +81,14 @@ public static function initSource(?array $sources = null, ?array $libs = null, ?
8181

8282
// when source already extracted, detect if the extracted source hash is the same as the lock file one
8383
if (file_exists("{$check}/.spc-hash") && FileSystem::readFile("{$check}/.spc-hash") === $hash) {
84-
logger()->debug('Source [' . $source . '] already extracted in ' . $check . ', skip !');
84+
logger()->debug("Source [{$source}] already extracted in {$check}, skip !");
8585
continue;
8686
}
8787

8888
// ext imap was embeded in php <= 8.3, if php version < 8.4, we should not extract
8989
// but since it's not simple to compare php version, for now we just skip it
9090
if ($source === 'ext-imap') {
91-
logger()->debug('Source [imap] already extracted in ' . $check . ', skip !');
91+
logger()->debug("Source [ext-imap] already extracted in {$check}, skip !");
9292
continue;
9393
}
9494

0 commit comments

Comments
 (0)