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/47969/ffb9ae5fce618d6fdbeb754017bb76b4c701f4d4/cs.diff | patch -p0
diff -ru src/Symfony/Component/Filesystem/Filesystem.php src/Symfony/Component/Filesystem/Filesystem.php
--- src/Symfony/Component/Filesystem/Filesystem.php 2023-01-23 13:23:40.595444481 +0000
+++ src/Symfony/Component/Filesystem/Filesystem.php 2023-01-23 13:23:46.724672139 +0000
@@ -671,7 +671,6 @@
* Appends content to an existing file.
*
* @param string|resource $content The content to append
- * @param bool $lock Whether the file should be locked when writing to it
*
* @throws IOException If the file is not writable
*/