diff options
author | Javier Spagnoletti <phansys@gmail.com> | 2020-10-07 03:38:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-07 08:45:43 -0700 |
commit | aff92827b54f4b7f9e339982a49bab4bdbd1fc55 (patch) | |
tree | 1a777dafd9e8822a4745b04547606569ef6226d8 /userdiff.h | |
parent | Git 2.29-rc0 (diff) | |
download | tgif-aff92827b54f4b7f9e339982a49bab4bdbd1fc55.tar.xz |
userdiff: PHP: catch "abstract" and "final" functions
PHP permits functions to be defined like
final public function foo() { }
abstract protected function bar() { }
but our hunk header pattern does not recognize these decorations.
Add "final" and "abstract" to the list of function modifiers.
Helped-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Javier Spagnoletti <phansys@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.h')
0 files changed, 0 insertions, 0 deletions