Merge branch '3.x' into 4.x

* 3.x:
  Fix CS
This commit is contained in:
Fabien Potencier
2026-02-07 09:12:05 +01:00
29 changed files with 66 additions and 86 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ class DeprecatedCallableInfoTest extends TestCase
$deprecations = [];
try {
set_error_handler(function ($type, $msg) use (&$deprecations) {
set_error_handler(static function ($type, $msg) use (&$deprecations) {
if (\E_USER_DEPRECATED === $type) {
$deprecations[] = $msg;
}
@@ -66,7 +66,7 @@ class DeprecatedCallableInfoTest extends TestCase
$deprecations = [];
try {
set_error_handler(function ($type, $msg) use (&$deprecations) {
set_error_handler(static function ($type, $msg) use (&$deprecations) {
if (\E_USER_DEPRECATED === $type) {
$deprecations[] = $msg;
}