summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/php.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-03-01 01:13:48 +0000
committermurphy <murphy@rubychan.de>2011-03-01 01:13:48 +0000
commit274e3a0316877e241782a087732728e98f5560e5 (patch)
tree788f098aad0fd1247597d1296fb181ff3e54dbec /lib/coderay/scanners/php.rb
parent6b7871b94c83d904d158d9809ee70907e3d24d33 (diff)
downloadcoderay-274e3a0316877e241782a087732728e98f5560e5.tar.gz
PHP scanner should use BINARY regexp matching.
Diffstat (limited to 'lib/coderay/scanners/php.rb')
-rw-r--r--lib/coderay/scanners/php.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/scanners/php.rb b/lib/coderay/scanners/php.rb
index 6f3c237..7f09de9 100644
--- a/lib/coderay/scanners/php.rb
+++ b/lib/coderay/scanners/php.rb
@@ -10,6 +10,7 @@ module Scanners
register_for :php
file_extension 'php'
+ encoding 'BINARY'
KINDS_NOT_LOC = HTML::KINDS_NOT_LOC