N°8910 - Upgrade Symfony packages (#811)

This commit is contained in:
Benjamin Dalsass
2026-02-23 06:54:26 +01:00
committed by GitHub
parent b91e6c384a
commit 4853ca444e
224 changed files with 4758 additions and 1778 deletions

View File

@@ -36,6 +36,14 @@ class StringUtil
return trim($string);
}
/**
* Converts both CRLF and CR to LF.
*/
public static function normalizeNewlines(string $string): string
{
return str_replace(["\r\n", "\r"], "\n", $string);
}
/**
* Converts a fully-qualified class name to a block prefix.
*