- \ncc\Objects\ProjectConfiguration > Compiler: Added Public Constructor to automatically determine the minimum and

maximum supported compiler version for the selected extension
 - `\ncc\Objects\ProjectConfiguration > Compiler > fromArray()` throws an ConfigurationException if the property `extension` is null
 - `\ncc\Objects\ProjectConfiguration > Compiler > fromArray()` throws an NotSupportedException if the `extension` uses an
   unsupported compiler extension
 - `\ncc\Objects\ProjectConfiguration > Compiler > validate()` No longer accepts `$throw_exception` and throws an
   `ConfigurationException` or `NotSupportedException` if the validation fails, otherwise it returns `True`.
 - `\ncc\Objects\ProjectConfiguration > Project > fromArray()` Throws an `ConfigurationException` if the property `compiler`
   is missing in the project configuration
 - `\ncc\Objects > ProjectConfiguration > fromArray()` Throws an `ConfigurationException` if the property 'project' is
   missing in the root configuration
 - `\ncc\Objects\ProjectConfiguration > Project > __construct()` now requires the parameter `$compiler`
 - Removed parameter `$throw_exception` from `\ncc\Objects\ProjectConfiguration > Project > validate()`
This commit is contained in:
Netkas 2023-08-30 20:38:52 -04:00
parent 99bdd933cd
commit 230675c586
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
6 changed files with 119 additions and 72 deletions

View file

@ -0,0 +1,8 @@
{
"project": {
"compiler": {
"extension": "php",
"minimum_version": "8.0"
}
}
}