Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:
curl https://fabbot.io/patch/symfony/symfony/59693/62353a1fd1ad021c692eea0b2c5bac4b20ff64fb/cs.diff | patch -p0
diff -ru src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php
--- src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php 2025-02-04 19:07:58.351659498 +0000
+++ src/Symfony/Component/Intl/Data/Generator/RegionDataGenerator.php 2025-02-04 19:07:59.147660971 +0000
@@ -106,7 +106,7 @@
if (
isset(self::OPTIONAL_USER_ASSIGNED[$region])
- && !filter_var(getenv('ALLOW_OPTIONAL_USER_ASSIGNED'), FILTER_VALIDATE_BOOLEAN)
+ && !filter_var(getenv('ALLOW_OPTIONAL_USER_ASSIGNED'), \FILTER_VALIDATE_BOOLEAN)
) {
return false;
}