Skip to content

Commit b6703ab

Browse files
committed
Add error handler warning to update guide
1 parent 8054926 commit b6703ab

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 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.2
@@ -107,12 +116,7 @@ Run the following scripts:
107116

108117
## v4.6.8
109118

110-
To avoid deprecations when updating from an older PHP version to PHP 8.2 or 8.3, run the following commands:
111-
112-
``` bash
113-
composer config extra.runtime.error_handler "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
114-
composer dump-autoload
115-
```
119+
No additional steps needed.
116120

117121
## v4.6.9
118122

0 commit comments

Comments
 (0)