summaryrefslogtreecommitdiffstats
path: root/tests/data/app/code-checker/test-deprecated-function-alias.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-15 17:50:37 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-17 12:34:56 +0200
commit2783a780708e4e5c04b6935840416d219bc4d852 (patch)
tree1e2ff2fa51e2e9eeb8ae72bcf68718ba720cac07 /tests/data/app/code-checker/test-deprecated-function-alias.php
parentf228a3dc28b579b3d11126544928edacd2e2d9c4 (diff)
downloadnextcloud-server-2783a780708e4e5c04b6935840416d219bc4d852.tar.gz
nextcloud-server-2783a780708e4e5c04b6935840416d219bc4d852.zip
Allow checking for functions
Diffstat (limited to 'tests/data/app/code-checker/test-deprecated-function-alias.php')
-rw-r--r--tests/data/app/code-checker/test-deprecated-function-alias.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/app/code-checker/test-deprecated-function-alias.php b/tests/data/app/code-checker/test-deprecated-function-alias.php
new file mode 100644
index 00000000000..0c958cc635c
--- /dev/null
+++ b/tests/data/app/code-checker/test-deprecated-function-alias.php
@@ -0,0 +1,5 @@
+<?php
+
+use OCP\NamespaceName\ClassName as Alias;
+
+Alias::functionName();