File tree 6 files changed +1
-61
lines changed
6 files changed +1
-61
lines changed Original file line number Diff line number Diff line change 6
6
/phpcs.xml.dist export-ignore
7
7
/phpstan.neon.dist export-ignore
8
8
/phpunit.xml.dist export-ignore
9
- /psalm.xml.dist export-ignore
10
9
/tests export-ignore
Original file line number Diff line number Diff line change 27
27
28
28
- name : " Run a static analysis with phpstan/phpstan"
29
29
run : " vendor/bin/phpstan --error-format=checkstyle | cs2pr"
30
-
31
- static-analysis-psalm :
32
- name : " Static Analysis with Psalm"
33
- runs-on : " ubuntu-22.04"
34
-
35
- steps :
36
- - name : " Checkout code"
37
- uses : actions/checkout@v4
38
-
39
- - name : " Install PHP"
40
- uses : " shivammathur/setup-php@v2"
41
- with :
42
- php-version : " 8.2"
43
- coverage : " none"
44
- tools : " cs2pr"
45
-
46
- - name : " Install dependencies with Composer"
47
- uses : " ramsey/composer-install@v1"
48
-
49
- - name : " Run a static analysis with vimeo/psalm"
50
- run : " vendor/bin/psalm --output-format=github --shepherd --taint-analysis --report=results.sarif"
51
-
52
- - name : " Upload Security Analysis results to GitHub"
53
- uses : github/codeql-action/upload-sarif@v3
54
- with :
55
- sarif_file : results.sarif
56
-
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 1
1
# JSON RPC 2.0 PSR-7 Message Factory
2
2
3
3
[ ![ GitHub Actions] [ GA Image ]] [ GA Link ]
4
- [ ![ Shepherd Type] [ Shepherd Image ]] [ Shepherd Link ]
5
4
[ ![ Code Coverage] [ Coverage Image ]] [ CodeCov Link ]
6
5
[ ![ Downloads] [ Downloads Image ]] [ Packagist Link ]
7
6
[ ![ Packagist] [ Packagist Image ]] [ Packagist Link ]
@@ -18,10 +17,6 @@ composer require simpod/json-rpc
18
17
19
18
[ GA Link ] : https://github.com/simPod/PhpJsonRpc/actions?query=workflow%3A%22CI%22+branch%3Amaster
20
19
21
- [ Shepherd Image ] : https://shepherd.dev/github/simPod/PhpJsonRpc/coverage.svg
22
-
23
- [ Shepherd Link ] : https://shepherd.dev/github/simPod/PhpJsonRpc
24
-
25
20
[ Coverage Image ] : https://codecov.io/gh/simPod/PhpJsonRpc/branch/master/graph/badge.svg
26
21
27
22
[ CodeCov Link ] : https://codecov.io/gh/simPod/PhpJsonRpc/branch/master
Original file line number Diff line number Diff line change 30
30
"phpstan/phpstan-phpunit" : " ^1.0.0" ,
31
31
"phpstan/phpstan-strict-rules" : " ^1.0.0" ,
32
32
"phpunit/phpunit" : " ^10.3" ,
33
- "psalm/plugin-phpunit" : " 0.18.4" ,
34
33
"psr-mock/http" : " ^1.0" ,
35
- "thecodingmachine/phpstan-safe-rule" : " ^1.0" ,
36
- "vimeo/psalm" : " ^5.0"
34
+ "thecodingmachine/phpstan-safe-rule" : " ^1.0"
37
35
},
38
36
"config" : {
39
37
"allow-plugins" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments