mirror of
https://github.com/doctrine/sql-formatter.git
synced 2026-03-23 22:42:14 +01:00
552 B
552 B
CONTRIBUTING
Make sure you read our contributing guide.
Installing dependencies
composer install
Running checks locally
Here is a script to run all checks, you can use it as a git hook:
#!/bin/bash -eu
vendor/bin/phpunit --testdox
echo '' | vendor/bin/phpcs
vendor/bin/phpstan analyze
Regenerating expected output
To regenerate expected tests output, run bin/regenerate-expected-output.