N°8017 - Security - dependabot - Symfony's VarDumper vulnerable to un… (#731)

Upgrade all Symfony components to last security fix (~6.4.0)
This commit is contained in:
Benjamin Dalsass
2025-08-06 08:54:56 +02:00
committed by GitHub
parent 603340b852
commit cdbcd14767
608 changed files with 5020 additions and 3793 deletions

View File

@@ -696,7 +696,7 @@ class AutowirePass extends AbstractRecursivePass
return null;
}
private function populateAutowiringAlias(string $id, string $target = null): void
private function populateAutowiringAlias(string $id, ?string $target = null): void
{
if (!preg_match('/(?(DEFINE)(?<V>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+))^((?&V)(?:\\\\(?&V))*+)(?: \$((?&V)))?$/', $id, $m)) {
return;
@@ -716,7 +716,7 @@ class AutowirePass extends AbstractRecursivePass
}
}
private function getCombinedAlias(string $type, string $name = null): ?string
private function getCombinedAlias(string $type, ?string $name = null): ?string
{
if (str_contains($type, '&')) {
$types = explode('&', $type);