From 3cf5e4ef918adf06317f68b15086ab624dc2c55b Mon Sep 17 00:00:00 2001 From: Thilina Pituwala Date: Mon, 1 Jun 2020 12:32:12 +0200 Subject: [PATCH] Fix php 5.6 issue --- core/src/Utils/LogManager.php | 2 +- release.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/Utils/LogManager.php b/core/src/Utils/LogManager.php index abe02259..d2df39f1 100644 --- a/core/src/Utils/LogManager.php +++ b/core/src/Utils/LogManager.php @@ -69,7 +69,7 @@ class LogManager return $this->logCollector; } - public function notifyException(\Throwable $error) + public function notifyException($error) { if ($this->isNewRelicActive()) { newrelic_notice_error(sprintf('(client=%s) %s', CLIENT_NAME, $error->getMessage()), $error); diff --git a/release.md b/release.md index 06bb9fe0..49da2b40 100644 --- a/release.md +++ b/release.md @@ -11,7 +11,7 @@ ### For developers * Developer environment based on docker [https://www.youtube.com/watch?v=sz8OV_ON6S8](https://www.youtube.com/watch?v=sz8OV_ON6S8) * [Developer guide](https://icehrm.gitbook.io/icehrm/developer-guide/create-new-module) -* Fully support from php 7.0 upto 7.4 (php 5.6 support is deprecated and not recommended) +* Fully supports all php versions >= 5.6 upto v7.3 (php 5.6 support is deprecated and not recommended) ### Bug fixes * Fixes to newly found vulnerabilities (https://github.com/gamonoid/icehrm/issues/213): credits to: [Talos](https://talosintelligence.com/)