File: CONTRIBUTING.md

package info (click to toggle)
php-sql-formatter 1.2.17%2Bdct1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 652 kB
  • sloc: php: 1,745; sql: 271; xml: 18; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# CONTRIBUTING

Make sure you read our [contributing guide][contributing guide on the website].

[contributing guide on the website]:https://www.doctrine-project.org/contribute

## Installing dependencies

```shell
composer install
composer bin all install
```

## Running checks locally

Here is a script to run all checks, you can use it as a git hook:

```shell
#!/bin/bash -eu
vendor/bin/phpunit --testdox
vendor/bin/psalm
echo '' | vendor/bin/phpcs
vendor/bin/phpstan analyze
```