From 0201cedb3a449510082a6fc084702d62391f2555 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 19 Oct 2009 17:40:34 +0000 Subject: Updated PHP scanner: added a test, improved HTML/PHP detection, cleanup. --- test/scanners/php/elvis.expected.raydebug | 1 + test/scanners/php/elvis.in.php | 1 + 2 files changed, 2 insertions(+) create mode 100644 test/scanners/php/elvis.expected.raydebug create mode 100644 test/scanners/php/elvis.in.php (limited to 'test/scanners/php') diff --git a/test/scanners/php/elvis.expected.raydebug b/test/scanners/php/elvis.expected.raydebug new file mode 100644 index 0000000..29e240c --- /dev/null +++ b/test/scanners/php/elvis.expected.raydebug @@ -0,0 +1 @@ +local_variable($this)operator(?)local_variable($is)operator(+)ident(NO)operator(:)local_variable($label) diff --git a/test/scanners/php/elvis.in.php b/test/scanners/php/elvis.in.php new file mode 100644 index 0000000..aee46c0 --- /dev/null +++ b/test/scanners/php/elvis.in.php @@ -0,0 +1 @@ +$this?$is+NO:$label -- cgit v1.2.1