fix(test): fix redundant terminal output during phpunit (#1194)

This commit is contained in:
Jerry Ma
2026-06-22 08:08:47 +08:00
committed by GitHub
parent 408d8f755c
commit 227b8f0b0a
16 changed files with 844 additions and 51 deletions

View File

@@ -38,7 +38,7 @@ class ArtifactConfig
*/
public static function loadFromFile(string $file, string $registry_name): string
{
$content = file_get_contents($file);
$content = @file_get_contents($file);
if ($content === false) {
throw new WrongUsageException("Failed to read artifact config file: {$file}");
}