diff options
Diffstat (limited to 'tests/data/app/code-checker/test-deprecated-use-sub.php')
-rw-r--r-- | tests/data/app/code-checker/test-deprecated-use-sub.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/app/code-checker/test-deprecated-use-sub.php b/tests/data/app/code-checker/test-deprecated-use-sub.php new file mode 100644 index 00000000000..a53e9a7229e --- /dev/null +++ b/tests/data/app/code-checker/test-deprecated-use-sub.php @@ -0,0 +1,9 @@ +<?php + +use OCP\AppFramework; + +/** + * Class BadClass - creating an instance of a blacklisted class is not allowed + */ +class BadClass implements AppFramework\IApi { +} |