3 if ! test -e ".gitignore"; then
4 echo "$0: Please execute this script from root directory."
8 echo "$0: Searching for deprecated PHP scripts ..."
9 LIST=$(find -type f -name "*.php" -size 21c -exec grep -H "@DEPRECATED" {} \; | grep -v "/core/" | cut -d ":" -f 1)
13 echo "${LIST}" | xargs git rm --force
14 sh ./contrib/todo-builder.sh