summaryrefslogtreecommitdiffstats
path: root/tests/data/app/code-checker/test-not-equal.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/app/code-checker/test-not-equal.php')
-rw-r--r--tests/data/app/code-checker/test-not-equal.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/data/app/code-checker/test-not-equal.php b/tests/data/app/code-checker/test-not-equal.php
new file mode 100644
index 00000000000..d9a8d1c25c6
--- /dev/null
+++ b/tests/data/app/code-checker/test-not-equal.php
@@ -0,0 +1,11 @@
+<?php
+
+/**
+ * Class BadClass - uses equal instead of identical operator
+ */
+class BadClass {
+ public function foo() {
+ if (true != false) {
+ }
+ }
+}