Skip to content

Commit

Permalink
Add precommit.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielburger1337 committed Mar 5, 2024
1 parent 1abd7d0 commit c2e8689
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions precommit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

vendor/bin/php-cs-fixer fix

if ! vendor/bin/phpstan --memory-limit=512M; then
exit 1;
fi

vendor/bin/phpunit --coverage-text --path-coverage

0 comments on commit c2e8689

Please sign in to comment.