From 563eb18ecf909d0d0628f571c7688f89ed0fd673 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 23 May 2024 13:52:19 +0200 Subject: [PATCH 1/4] requirements.md: Add PHP 8.2 support --- docs/getting_started/requirements.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index 7836f930f0..27ebd1a1d6 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -154,11 +154,28 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, === "Ibexa DXP v3.3" + - 8.2 (see note below) - 8.1 - 8.0 (PHP 8.0 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1) - 7.4 (PHP 7.4 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1) - 7.3 (PHP 7.3 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1) + !!! note "Quiet PHP 8.2 deprecation notices from 3rd parties " + + To avoid PHP 8.2 deprecation notices rawly appearing in outputs (and, for example, broke REST answers), add the following to your composer.json: + + ```json + "runtime": { + "error_handler": "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler" + } + ``` + + Then run the following command: + + ```bash + composer dump-autoload + ``` + === "eZ Platform v2.5" - 7.1 (PHP 7.1 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should upgrade to Ibexa DXP v3.3 or v4.x) From 292a25ce2c50c7ac4616f01b357d2d0d38ef3d86 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 24 May 2024 16:33:07 +0200 Subject: [PATCH 2/4] Update docs/getting_started/requirements.md --- docs/getting_started/requirements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index 27ebd1a1d6..7872f00273 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -162,7 +162,7 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, !!! note "Quiet PHP 8.2 deprecation notices from 3rd parties " - To avoid PHP 8.2 deprecation notices rawly appearing in outputs (and, for example, broke REST answers), add the following to your composer.json: + To avoid PHP 8.2 deprecation notices rawly appearing in outputs (and, for example, breaking REST answers), add the following to your composer.json: ```json "runtime": { From a8753df81a2d37aec7ed947773dc99f5f61511b1 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:39:16 +0200 Subject: [PATCH 3/4] Update docs/getting_started/requirements.md --- docs/getting_started/requirements.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index 7872f00273..0ad9c8b179 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -162,7 +162,9 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, !!! note "Quiet PHP 8.2 deprecation notices from 3rd parties " - To avoid PHP 8.2 deprecation notices rawly appearing in outputs (and, for example, breaking REST answers), add the following to your composer.json: + To avoid PHP 8.2 deprecation notices rawly appearing in outputs + (and, for example, breaking REST answers), + add the following to your `composer.json` (after installation): ```json "runtime": { From a845956e2ca7cb812e7b011fb1f9c4c565b2b445 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:02:13 +0200 Subject: [PATCH 4/4] Update docs/getting_started/requirements.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomasz DÄ…browski <64841871+dabrt@users.noreply.github.com> --- docs/getting_started/requirements.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index 0ad9c8b179..d2a168d7bb 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -162,9 +162,8 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, !!! note "Quiet PHP 8.2 deprecation notices from 3rd parties " - To avoid PHP 8.2 deprecation notices rawly appearing in outputs - (and, for example, breaking REST answers), - add the following to your `composer.json` (after installation): + To avoid PHP 8.2 deprecation notices appearing in outputs (and, for example, breaking REST answers), + add the following to your `composer.json` after installation: ```json "runtime": {