I encountered this problem after upgrading to php8. I am sure that the modification method of this patch package is correct, but when I use the patch package in composer.json, I am prompted that I cannot apply it. I use the composer install -vvv command to get an error : 1 out of 1 hunk FAILED -- saving rejects to file lib/Drupal/Core/Utility/LinkGenerator.php.rej ; I compared the files carefully and found that the content of the patch part is not completely consistent, there are spaces, and the number of lines is inconsistent The problem. Is there any better way to solve this problem? Due to project reasons, it cannot be modified manually.
- Issue was unassigned.