Increase required version of the icinga-php-library

This commit is contained in:
Johannes Meyer 2022-03-22 10:42:40 +01:00
parent 0e3ff9d669
commit 01f67a78c6
3 changed files with 3 additions and 3 deletions

View File

@ -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)) {

View File

@ -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

View File

@ -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',