File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 52
52
"symfony/mailer" : " ^7.2.0" ,
53
53
"symfony/mime" : " ^7.2.0" ,
54
54
"symfony/polyfill-php83" : " ^1.31" ,
55
+ "symfony/polyfill-php85" : " ^1.31" ,
55
56
"symfony/process" : " ^7.2.0" ,
56
57
"symfony/routing" : " ^7.2.0" ,
57
58
"symfony/uid" : " ^7.2.0" ,
Original file line number Diff line number Diff line change @@ -326,27 +326,11 @@ public static function flushState()
326
326
*/
327
327
public static function flushHandlersState ()
328
328
{
329
- while (true ) {
330
- $ previousHandler = set_exception_handler (static fn () => null );
331
-
332
- restore_exception_handler ();
333
-
334
- if ($ previousHandler === null ) {
335
- break ;
336
- }
337
-
329
+ while (get_exception_handler () !== null ) {
338
330
restore_exception_handler ();
339
331
}
340
332
341
- while (true ) {
342
- $ previousHandler = set_error_handler (static fn () => null );
343
-
344
- restore_error_handler ();
345
-
346
- if ($ previousHandler === null ) {
347
- break ;
348
- }
349
-
333
+ while (get_error_handler () !== null ) {
350
334
restore_error_handler ();
351
335
}
352
336
Original file line number Diff line number Diff line change 26
26
"symfony/http-foundation" : " ^7.2.0" ,
27
27
"symfony/http-kernel" : " ^7.2.0" ,
28
28
"symfony/polyfill-php83" : " ^1.31" ,
29
+ "symfony/polyfill-php85" : " ^1.31" ,
29
30
"symfony/mime" : " ^7.2.0"
30
31
},
31
32
"autoload" : {
You can’t perform that action at this time.
0 commit comments