engelsystem/bin/pre-commit

13 lines
152 B
Plaintext
Raw Permalink Normal View History

2023-01-24 14:26:10 +01:00
#!/usr/bin/env sh
# immediate exit after an error
set -e
yarn check
yarn lint
composer validate
composer phpcs
composer phpstan
./vendor/bin/phpunit