Recent version of PHP supports interface, trait, abstract class and final class. This patch fixes the PHP hunk header regexp to support all of these keywords. Signed-off-by: Kana Natsuno <dev@whileimautomaton.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			85 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			85 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
trait RIGHT
 | 
						|
{
 | 
						|
    public function foo($ChangeMe)
 | 
						|
    {
 | 
						|
        return 'foo';
 | 
						|
    }
 | 
						|
}
 |