MetaYaml
MetaYaml copied to clipboard
A powerful schema validator!
I know @romaricdrigon is not active anymore, but using next symfony version would be nice, also for their forks of @shiftby.
I am using this library in a [project](https://phabricator.wikimedia.org/T235403) where another component started depending on symfony/yaml 4.x. The latest release version of this library however only accepts 2.x or 3.x. I...
`composer install` doesn't work: ``` Your requirements could not be resolved to an installable set of packages. Problem 1 - atoum/atoum 1.2.5 requires php >=5.3.3, your PHP version (7.2.15) does...
It seems to me the bad part of this tool is error reporting as it rarely reports anything reasonable when validating schema for example. So I started to enhance this...
I cannot explain why my schema doesn't work, I just continue getting some frustrating error message not explaining anything. Sample input: ```yaml database: type: sqlite params: path: "some_path" ``` Schema:...
It's required to user _min_items and _max_items attributes. Method SchemaValidator::getFullName adds prefix "_" before search of min and max values
If the user specified an array in an enum choice, then a PHP "Array to string" conversion error was given instead of the expected Exception.