Skip to content

Commit 2fb0c0f

Browse files
committed
Add error handler warning to update guide
1 parent 28ed33b commit 2fb0c0f

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.1
@@ -123,12 +132,7 @@ No additional steps needed.
123132

124133
## v4.6.8
125134

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

133137
## v4.6.9
134138

0 commit comments

Comments
 (0)