1
0
Fork 0

Fix deprecation warnings in code inspections for vendor/autoload.php, fixes #12331

main
Jordi Boggiano 2025-03-06 16:40:04 +01:00
parent 4b41c176fd
commit a121ae88af
No known key found for this signature in database
4 changed files with 4 additions and 16 deletions

View File

@ -975,10 +975,7 @@ if (PHP_VERSION_ID < 50600) {
echo \$err;
}
}
trigger_error(
\$err,
E_USER_ERROR
);
throw new RuntimeException(\$err);
}
require_once $vendorPathToTargetDirCode;

View File

@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
throw new RuntimeException($err);
}
require_once __DIR__ . '/composer/autoload_real.php';

View File

@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
throw new RuntimeException($err);
}
require_once __DIR__ . '/composer/autoload_real.php';

View File

@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
throw new RuntimeException($err);
}
require_once __DIR__ . '/composer/autoload_real.php';