File tree Expand file tree Collapse file tree 5 files changed +1
-56
lines changed Expand file tree Collapse file tree 5 files changed +1
-56
lines changed Original file line number Diff line number Diff line change 8
8
/phpstan.neon.dist export-ignore
9
9
/phpstan-baseline.neon export-ignore
10
10
/phpunit.xml.dist export-ignore
11
- /psalm.xml.dist export-ignore
12
11
/tests export-ignore
Original file line number Diff line number Diff line change 36
36
37
37
- name : " Run a static analysis with phpstan/phpstan"
38
38
run : " vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr"
39
-
40
- static-analysis-psalm :
41
- name : " Static Analysis with Psalm"
42
- runs-on : " ubuntu-22.04"
43
-
44
- steps :
45
- - name : " Checkout code"
46
- uses : actions/checkout@v4
47
-
48
- - name : Install librdkafka
49
- run : |
50
- chmod +x .ci/install_rdkafka.sh
51
- .ci/install_rdkafka.sh
52
-
53
- - name : " Install PHP"
54
- uses : " shivammathur/setup-php@v2"
55
- with :
56
- php-version : " 8.2"
57
- coverage : " none"
58
- extensions : " rdkafka"
59
- tools : " cs2pr"
60
-
61
- - name : " Install dependencies with Composer"
62
- uses : " ramsey/composer-install@v1"
63
-
64
- - name : " Run a static analysis with vimeo/psalm"
65
- run : " vendor/bin/psalm --output-format=github --shepherd --taint-analysis --report=results.sarif"
66
-
67
- - name : " Upload Security Analysis results to GitHub"
68
- uses : " github/codeql-action/upload-sarif@v3"
69
- with :
70
- sarif_file : results.sarif
Original file line number Diff line number Diff line change 3
3
/composer.lock
4
4
/phpcs.xml
5
5
/phpstan.neon
6
- /psalm.xml
7
6
/phpunit.xml
8
7
/vendor /
Original file line number Diff line number Diff line change 36
36
"phpstan/phpstan-phpunit" : " ^1.0.0" ,
37
37
"phpstan/phpstan-strict-rules" : " ^1.0.0" ,
38
38
"phpunit/phpunit" : " ^10.3" ,
39
- "psalm/plugin-phpunit" : " ^0.19.0" ,
40
39
"symfony/yaml" : " ^7.0" ,
41
- "thecodingmachine/phpstan-safe-rule" : " ^1.0" ,
42
- "vimeo/psalm" : " ^5.8"
40
+ "thecodingmachine/phpstan-safe-rule" : " ^1.0"
43
41
},
44
42
"suggest" : {
45
43
"kwn/php-rdkafka-stubs" : " Support and autocompletion for RDKafka in IDE | require as dev dependency"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments