From 01f67a78c67b4e731146e601eb657507a1935540 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 22 Mar 2022 10:42:40 +0100 Subject: [PATCH] Increase required version of the icinga-php-library --- application/views/scripts/error/error.phtml | 2 +- doc/02-Installation.md | 2 +- modules/setup/library/Setup/WebWizard.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/views/scripts/error/error.phtml b/application/views/scripts/error/error.phtml index 4d2f565b2..df7f2f8fa 100644 --- a/application/views/scripts/error/error.phtml +++ b/application/views/scripts/error/error.phtml @@ -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)) { diff --git a/doc/02-Installation.md b/doc/02-Installation.md index d24de9c90..d0301b723 100644 --- a/doc/02-Installation.md +++ b/doc/02-Installation.md @@ -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 diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 0ab59a5b4..2b6321d4a 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -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',