#!/bin/sh # # Run the security check test on the extension # in the current directory. # # This script is meant to be run via composer # # Assumes that either MediaWiki is installed in ../../ # or the user has set MW_INSTALL_PATH environment variable. php vendor/phan/phan/phan \ -d . \ -k vendor/mediawiki/phan-taint-check-plugin/scripts/generic-config.php \ --output "php://stdout" "$@" exit $?