Skip to content

Commit 1afc973

Browse files
committed
Implement reviewer comments
1 parent 1af38fa commit 1afc973

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

docs/infrastructure_and_maintenance/performance.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ In production setups:
5454

5555
!!! caution
5656

57-
If you are running [[= product_name =]] in version v4.6.8 and below, to avoid deprecations when updating from an older PHP version to PHP 8.2 or 8.3, run the following commands:
57+
To avoid deprecations when using PHP 8.2 or 8.3, [= product_name =] v4.6.x needs an additional error handler.
58+
The error handler is present by default for projects that started with 4.6.8 or later.
59+
For projects that started with earlier versions, you need to added the error handler manually by running the following commands:
5860

5961
``` bash
6062
composer config extra.runtime.error_handler "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"

docs/update_and_migration/from_4.6/update_from_4.6.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ First, run:
3232

3333
Then execute the instructions below starting from the version you're upgrading from.
3434

35+
!!! caution
36+
37+
To avoid deprecations when using PHP 8.2 or 8.3, run the following commands:
38+
39+
``` bash
40+
composer config extra.runtime.error_handler "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
41+
composer dump-autoload
42+
```
43+
3544
<!-- vale Ibexa.VariablesVersion = NO -->
3645

3746
## v4.6.1
@@ -123,14 +132,7 @@ No additional steps needed.
123132

124133
## v4.6.8
125134

126-
!!! caution
127-
128-
To avoid deprecations when updating from an older PHP version to PHP 8.2 or 8.3, run the following commands:
129-
130-
``` bash
131-
composer config extra.runtime.error_handler "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
132-
composer dump-autoload
133-
```
135+
No additional steps needed.
134136

135137
## v4.6.9
136138

0 commit comments

Comments
 (0)