diff --git a/bin/phpstan-changed.sh b/bin/phpstan-changed.sh new file mode 100644 index 0000000000..7ad82fffe1 --- /dev/null +++ b/bin/phpstan-changed.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +FILES=$(git ls-files -om --exclude-standard); +if [ -n "$FILES" ]; then + phpstan analyse "$FILES" +fi