Add script to run static analysis checks

This commit is contained in:
Zach Borboa
2022-12-16 05:14:40 -08:00
parent 794d8dda69
commit 5b388dd4dd
+11
View File
@@ -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"