Commit Graph

5 Commits

Author SHA1 Message Date
Xuehai Pan
66bad5e563 fix: fix extra spacing in Apache License template 2023-01-18 13:42:46 +08:00
alex
20ee99ff6a Update .php handling to keep <?php at the top
Looking at https://www.php.net/manual/en/language.basic-syntax.phptags.php
there are just too many variations and I'm not convinced the added
complexity to support all of them would be worth it here.

Thus, support only the case where closing tag "?>" is either omitted
or on a separate line. A workaround for all other cases is to add
the license header manually.

Can always revisit this later.
2020-02-22 20:45:35 +01:00
Daniel Seymour
66fdaacba5 Update test data licenses to use the current year and copyright holder 2018-12-19 15:59:35 -08:00
alex
6f621186c8 Trim trailing whitespace
If a license text had blank lines, they would result in a trailing
whitespace when prefixed with the line comments.

This change removes trailing whitespace from the middle lines,
leaving top and bottom as is.

Fixes #10
2018-07-21 16:24:29 +02:00
alex
6631c269a8 initial import 2016-06-27 12:03:58 +01:00