<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4018/php-final-method, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-10-07T15:45:43Z</updated>
<entry>
<title>userdiff: PHP: catch "abstract" and "final" functions</title>
<updated>2020-10-07T15:45:43Z</updated>
<author>
<name>Javier Spagnoletti</name>
<email>phansys@gmail.com</email>
</author>
<published>2020-10-07T03:38:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aff92827b54f4b7f9e339982a49bab4bdbd1fc55'/>
<id>urn:sha1:aff92827b54f4b7f9e339982a49bab4bdbd1fc55</id>
<content type='text'>
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 &lt;j6t@kdbg.org&gt;
Signed-off-by: Javier Spagnoletti &lt;phansys@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
