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>
		
			
				
	
	
		
			5 lines
		
	
	
		
			50 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			50 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
final class RIGHT
 | 
						|
{
 | 
						|
    const FOO = 'ChangeMe';
 | 
						|
}
 |