-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (26 loc) · 966 Bytes
/
sca.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Static code analysis
on:
push:
jobs:
analyse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: none, bcmath, curl, dom, fileinfo, gd, iconv, intl, mbstring, pdo_mysql, simplexml, soap, sockets, tokenizer, xsl, xmlwriter, zip
coverage: none
- run: composer validate --strict
- working-directory: .dev-tools
run: composer install
- working-directory: .dev-tools
run: composer normalize --diff --dry-run --indent-size=4 --indent-style=space ../composer.json
- working-directory: .dev-tools
run: composer cs:fixer -- --dry-run
- working-directory: .dev-tools
run: composer cs:sniffer
- working-directory: .dev-tools
run: composer cs:phpstan
- working-directory: .dev-tools
run: composer cs:psalm -- --no-progress --shepherd