- \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:
parent
99bdd933cd
commit
230675c586
6 changed files with 119 additions and 72 deletions
8
tests/projects/php_cli/project.json
Normal file
8
tests/projects/php_cli/project.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"project": {
|
||||
"compiler": {
|
||||
"extension": "php",
|
||||
"minimum_version": "8.0"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue