diff options
Diffstat (limited to 'tests/data/app/code-checker/test-new.php')
-rw-r--r-- | tests/data/app/code-checker/test-new.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/app/code-checker/test-new.php b/tests/data/app/code-checker/test-new.php new file mode 100644 index 00000000000..0522d473d96 --- /dev/null +++ b/tests/data/app/code-checker/test-new.php @@ -0,0 +1,10 @@ +<?php + +/** + * Class BadClass - creating an instance of a blacklisted class is not allowed + */ +class BadClass { + public function foo() { + $bar = new OC_AppConfig(); + } +} |