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 33e75f0e2d5897dbd4cf15281ca1033286c758df Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 28 May 2024 10:56:34 +0200 Subject: [PATCH 3/4] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adam Wójs --- docs/getting_started/requirements.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index 7872f00273..7d14f8db00 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -154,15 +154,16 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, === "Ibexa DXP v3.3" + - 8.3 (see note below) - 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 " + !!! 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: ```json "runtime": { From b3929ee632dd6a271efc42e4553eaaffa4b1729e Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:26:39 +0200 Subject: [PATCH 4/4] Since 3.3.38, Php82HideDeprecationsErrorHandler is installed by default --- docs/getting_started/requirements.md | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/docs/getting_started/requirements.md b/docs/getting_started/requirements.md index d913fb72ca..93512f0731 100644 --- a/docs/getting_started/requirements.md +++ b/docs/getting_started/requirements.md @@ -154,30 +154,13 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached, === "Ibexa DXP v3.3" - - 8.3 (see note below) - - 8.2 (see note below) + - 8.3 + - 8.2 - 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 appearing in outputs (and, for example, breaking REST answers), - add the following to your `composer.json` after installation: - - ```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)