Skip to content

Commit

Permalink
Add bin to run phpstan on diff files
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Nov 20, 2024
1 parent 77c180d commit b6f887a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/phpstan-changed.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

FILES=$(git ls-files -om --exclude-standard);
if [ -n "$FILES" ]; then
phpstan analyse "$FILES"
fi

0 comments on commit b6f887a

Please sign in to comment.