mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
Refactor test structure and update paths for improved organization
This commit is contained in:
@@ -25,7 +25,7 @@ class Registry
|
||||
*/
|
||||
public static function loadRegistry(string $registry_file, bool $auto_require = true): void
|
||||
{
|
||||
$yaml = file_get_contents($registry_file);
|
||||
$yaml = @file_get_contents($registry_file);
|
||||
if ($yaml === false) {
|
||||
throw new RegistryException("Failed to read registry file: {$registry_file}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user