Increase required version of the icinga-php-library
This commit is contained in:
parent
0e3ff9d669
commit
01f67a78c6
|
@ -23,7 +23,7 @@ $modReason = [];
|
|||
|
||||
if (isset($requiredVendor, $requiredProject) && $requiredVendor && $requiredProject) {
|
||||
// TODO: I don't like this, can we define requirements somewhere else?
|
||||
$coreDeps = ['icinga-php-library' => '>= 0.6', 'icinga-php-thirdparty' => '>= 0.10'];
|
||||
$coreDeps = ['icinga-php-library' => '>= 0.8', 'icinga-php-thirdparty' => '>= 0.10'];
|
||||
|
||||
foreach ($coreDeps as $libraryName => $requiredVersion) {
|
||||
if (! $libraries->has($libraryName)) {
|
||||
|
|
|
@ -390,7 +390,7 @@ You will need to install certain dependencies depending on your setup:
|
|||
* A web server, e.g. Apache or Nginx
|
||||
* PHP version >= 7.3
|
||||
* Older versions (5.6+) are only supported up until version 2.11
|
||||
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.6)
|
||||
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.8)
|
||||
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.10)
|
||||
* The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml
|
||||
* For exports to PDF also the following PHP modules are required: mbstring, GD, Imagick
|
||||
|
|
|
@ -601,7 +601,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
)));
|
||||
|
||||
$set->add(new WebLibraryRequirement(array(
|
||||
'condition' => ['icinga-php-library', '>=', '0.6.0'],
|
||||
'condition' => ['icinga-php-library', '>=', '0.8.0'],
|
||||
'alias' => 'Icinga PHP library',
|
||||
'description' => mt(
|
||||
'setup',
|
||||
|
|
Loading…
Reference in New Issue