lib/rouge/lexers/php.rb in rouge-1.10.1 vs lib/rouge/lexers/php.rb in rouge-1.11.0
- old
+ new
@@ -5,10 +5,10 @@
class PHP < TemplateLexer
title "PHP"
desc "The PHP scripting language (php.net)"
tag 'php'
aliases 'php', 'php3', 'php4', 'php5'
- filenames '*.php', '*.php[345]',
+ filenames '*.php', '*.php[345t]','*.phtml',
# Support Drupal file extensions, see:
# https://github.com/gitlabhq/gitlabhq/issues/8900
'*.module', '*.inc', '*.profile', '*.install', '*.test'
mimetypes 'text/x-php'