From 53fa6d57e198dba93d8458d151c20c5d04bfa429 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 26 Mar 2025 10:35:11 +0100 Subject: [PATCH] Raise ipl requirement --- 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 cb87b1d42..b66d5b4ed 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.13.2', 'icinga-php-thirdparty' => '>= 0.12']; + $coreDeps = ['icinga-php-library' => '>= 0.14.2', 'icinga-php-thirdparty' => '>= 0.12']; foreach ($coreDeps as $libraryName => $requiredVersion) { if (! $libraries->has($libraryName)) { diff --git a/doc/02-Installation.md b/doc/02-Installation.md index 1eba3a629..ddca8bcf4 100644 --- a/doc/02-Installation.md +++ b/doc/02-Installation.md @@ -399,7 +399,7 @@ You will need to install certain dependencies depending on your setup: monitor your infrastructure * A web server, e.g. Apache or Nginx * PHP version ≥ 7.2 -* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (≥ 0.13.2) +* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (≥ 0.14.2) * [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (≥ 0.12) * The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml * The [pdfexport](https://github.com/Icinga/icingaweb2-module-pdfexport) module (≥0.10) is required for the diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 5063ee83f..cfc961d6d 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -602,7 +602,7 @@ class WebWizard extends Wizard implements SetupWizard ))); $set->add(new WebLibraryRequirement(array( - 'condition' => ['icinga-php-library', '>=', '0.13.2'], + 'condition' => ['icinga-php-library', '>=', '0.14.2'], 'alias' => 'Icinga PHP library', 'description' => mt( 'setup',