File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Static analysis
2+
3+ on : pull_request
4+
5+ concurrency :
6+ group : psalm-${{ github.head_ref || github.run_id }}
7+ cancel-in-progress : true
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ static-analysis :
14+ runs-on : ubuntu-latest
15+
16+ name : static-psalm-analysis
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+ with :
21+ persist-credentials : false
22+
23+ - name : Set up php8.1
24+ uses : shivammathur/setup-php@ccf2c627fe61b1b4d924adfcbd19d661a18133a0 # v2.35.2
25+ with :
26+ php-version : 8.1
27+ extensions : json, openssl
28+ coverage : none
29+ ini-file : development
30+ # Temporary workaround for missing pcntl_* in PHP 8.3
31+ ini-values : disable_functions=
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+
35+ - name : Install dependencies
36+ run : composer i
37+
38+ - name : Run coding standards check
39+ run : composer run psalm -- --output-format=github
You can’t perform that action at this time.
0 commit comments