Closed tripu closed 6 years ago
@r12a, code editors and IDEs now tend to remove trailing spaces by default before saving files (I think that's a good thing). In @ylafon's new PR (#78), the other “normalisation” causing spurious changes is converting some files from CRLF lines (Windows) to LF lines (Unix, MacOS).
As said above, you can always see diffs with the option “hide whitespace changes” checked to focus on the most important changes.
Using PHP 7.1.17 on Ubuntu Linux, I got this error:
Apparently, “since PHP 5.4, you cannot use a superglobal as the parameter to a function”.
I think this fixes that. Can someone who is more knowledgeable confirm I'm not breaking anything?
(Make sure you check the option “hide whitespace changes” in the diff.)