diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:46 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-10-27 15:09:46 -0700 |
| commit | a8a49ebf61449f80d8c5ea2f9768f0ca590e51dd (patch) | |
| tree | 7e2d330cdb4f7784076ed0e950d85b6b15b9cf47 /userdiff.c | |
| parent | other small fixes for 2.29.2 (diff) | |
| parent | userdiff: PHP: catch "abstract" and "final" functions (diff) | |
| download | git-a8a49ebf61449f80d8c5ea2f9768f0ca590e51dd.tar.gz git-a8a49ebf61449f80d8c5ea2f9768f0ca590e51dd.zip | |
Merge branch 'js/userdiff-php'
Userdiff for PHP update.
* js/userdiff-php:
userdiff: PHP: catch "abstract" and "final" functions
Diffstat (limited to 'userdiff.c')
| -rw-r--r-- | userdiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c index fde02f225b..4e2b55a5e0 100644 --- a/userdiff.c +++ b/userdiff.c @@ -147,7 +147,7 @@ PATTERNS("perl", "|=~|!~" "|<<|<>|<=>|>>"), PATTERNS("php", - "^[\t ]*(((public|protected|private|static)[\t ]+)*function.*)$\n" + "^[\t ]*(((public|protected|private|static|abstract|final)[\t ]+)*function.*)$\n" "^[\t ]*((((final|abstract)[\t ]+)?class|interface|trait).*)$", /* -- */ "[a-zA-Z_][a-zA-Z0-9_]*" |
