sort pkg.json

This commit is contained in:
crazywhalecc
2024-02-18 14:02:34 +08:00
committed by Jerry Ma
parent a30e054d7d
commit 8376122634
3 changed files with 46 additions and 32 deletions

View File

@@ -70,4 +70,9 @@ class ConfigValidator
{
is_array($data) || throw new ValidationException('ext.json is broken');
}
public static function validatePkgs(mixed $data): void
{
is_array($data) || throw new \_PHPStan_c997ea9ee\Nette\Schema\ValidationException('pkg.json is broken');
}
}