summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/scanners/php/elvis.expected.raydebug1
-rw-r--r--test/scanners/php/elvis.in.php1
2 files changed, 2 insertions, 0 deletions
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