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/60138/4f0a7803de712dc46a47883a49019c57aec4cbf4/exception_messages.diff | patch -p0
diff -ru src/Symfony/Component/Lock/Store/StoreFactory.php src/Symfony/Component/Lock/Store/StoreFactory.php
--- src/Symfony/Component/Lock/Store/StoreFactory.php 2025-05-07 01:44:19.368199307 +0000
+++ src/Symfony/Component/Lock/Store/StoreFactory.php 2025-05-07 01:44:24.102208475 +0000
@@ -131,7 +131,7 @@
private static function requireBridgeClass(string $class, string $package): void
{
if (!class_exists($class)) {
- throw new \LogicException(\sprintf('Class "%s" is missing. Try running "composer require %s" to install the lock store package.', $class, $package));
+ throw new \LogicException(\sprintf('Class "%s" is missing. Try running "composer require "%s"" to install the lock store package.', $class, $package));
}
}
}