aboutsummaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-19 10:25:19 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-19 10:50:48 +0200
commitba43ec974cf829262279c87b03cdcbd68f3e2564 (patch)
tree522f9da667e2c58192e5e2e86738e92e5ea6706b /autotest.sh
parent6adddb3095abc447c30fb3f8c46c26507895c660 (diff)
downloadnextcloud-server-ba43ec974cf829262279c87b03cdcbd68f3e2564.tar.gz
nextcloud-server-ba43ec974cf829262279c87b03cdcbd68f3e2564.zip
Add tool to check OCP for missing @since tag
* gets executed in autotest.sh and fails if some PHPDoc is missing * doesn't check classes/methods that are marked as @deprecated * iterates over all .php files in lib/public
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autotest.sh b/autotest.sh
index 3ce88c64974..0d84fff12c4 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -89,6 +89,9 @@ if [ "$1" ]; then
fi
fi
+# check for the presence of @since in all OCP methods
+$PHP tests/OCPSinceChecker.php
+
# Back up existing (dev) config if one exists and backup not already there
if [ -f config/config.php ] && [ ! -f config/config-autotest-backup.php ]; then
mv config/config.php config/config-autotest-backup.php