diff --git a/tests/check_static_analysis.sh b/tests/check_static_analysis.sh new file mode 100755 index 0000000..2b1198f --- /dev/null +++ b/tests/check_static_analysis.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "${SCRIPT_DIR}" + +# Run commands from the project root directory. +cd .. + +set -x + +vendor/bin/psalm --config="tests/psalm.xml"