mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 08:15:39 +08:00
fix(test): fix redundant terminal output during phpunit (#1194)
This commit is contained in:
@@ -46,7 +46,7 @@ class PackageConfig
|
||||
*/
|
||||
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 package config file: {$file}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user