-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now the ValidationException carries the errors like this, but not the warnings (eg. deprecated fields):
try {
$parser = new Parser();
$publicCode = $parser->parseFile('/path/to/publiccode.yml');
} catch (ValidationException $e) {
$e->getErrors()
}We should have a way to access the warnings as well, maybe via the PublicCode object (publiccode.getWarnings(): ?array) ?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request