diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-05 13:09:12 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-05 13:09:12 +0200 |
commit | 493844eda4ec955b0d12e5c84412b42ae1df3fe2 (patch) | |
tree | f48593e10d97742bc28b28dfc2485a2443a86dfa /tests/data | |
parent | aae098c24a2c588ff195427f3404b9d679fd9eba (diff) | |
download | nextcloud-server-493844eda4ec955b0d12e5c84412b42ae1df3fe2.tar.gz nextcloud-server-493844eda4ec955b0d12e5c84412b42ae1df3fe2.zip |
add positive tests for operator in code checker
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/app/code-checker/test-identical-operator.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/app/code-checker/test-identical-operator.php b/tests/data/app/code-checker/test-identical-operator.php new file mode 100644 index 00000000000..4c7641ede89 --- /dev/null +++ b/tests/data/app/code-checker/test-identical-operator.php @@ -0,0 +1,13 @@ +<?php + +/** + * Class GoodClass - uses identical operator + */ +class GoodClass { + public function foo() { + if (true === false) { + } + if (true !== false) { + } + } +} |