{"push_id":2879188553,"size":1,"distinct_size":1,"ref":"refs/heads/patch-final-eol-master","head":"4a09466fb4cae45a85def8211be0d2601e68b1a4","before":"8864b0083525c42bfd46b07d96a72b0ac1c18704","commits":[{"sha":"4a09466fb4cae45a85def8211be0d2601e68b1a4","author":{"name":"Peter Kokot","email":"a18c474bddbe506d4362a644ca41749808d97a70@gmail.com"},"message":"Sync new lines at the end of the files\n\nThis patch syncs new lines at the end of the files across the source\ncode.\n\nAccording to POSIX [1] a line is a sequence of zero or more\n`non- <newline>` characters plus a terminating `<newline>` character.\n\nAlso C89 standard [2] and above [3] mention final new line:\n\"A source file that is not empty shall end in a new-line character,\nwhich shall not be immediately preceded by a backslash character.\"\n\nAlthough it is not mandatory for all files to have a single final new\nline, this patch simplifes and syncs the source code files where\npossible to have a single final new line either using a `LF` or `CRLF`\ncharacter as used prior to this patch in particular file.\n\nThis patch also makes editing simpler in certain editors which\nautomatically or with `.editorconfig` add final new lines to\nfiles. Some editors even automatically trim end of the files to have\nonly single new line.\n\nRefs:\n[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206\n[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2\n[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2","distinct":true,"url":"https://api.github.com/repos/petk/php-src/commits/4a09466fb4cae45a85def8211be0d2601e68b1a4"}]}
{"actor":{"display_login":"petk"}}