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/FriendsOfPHP/PHP-CS-Fixer/3969/51f0c8e23e2f89cd3c8b59a919ac53789ee02220/cs.diff | patch -p0
diff -ru src/Fixer/Casing/DeclaredClassCasingFixer.php src/Fixer/Casing/DeclaredClassCasingFixer.php
--- src/Fixer/Casing/DeclaredClassCasingFixer.php 2020-12-08 13:42:30.525572668 +0000
+++ src/Fixer/Casing/DeclaredClassCasingFixer.php 2020-12-08 13:42:31.607536245 +0000
@@ -48,10 +48,6 @@
return $tokens->isTokenKindFound(T_STRING);
}
- /**
- * @param \SplFileInfo $file
- * @param Tokens $tokens
- */
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
{
if (null === self::$declaredClassNames) {
@@ -72,9 +68,7 @@
/**
* Get the lower case name of the declared class or null.
*
- * @param int $index
- * @param Token $token
- * @param Tokens $tokens
+ * @param int $index
*
* @return null|string
*/