Skip to content

Commit 9c43257

Browse files
authored
ci: drop psalm (#89)
1 parent 5928aae commit 9c43257

File tree

6 files changed

+1
-61
lines changed

6 files changed

+1
-61
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
/phpcs.xml.dist export-ignore
77
/phpstan.neon.dist export-ignore
88
/phpunit.xml.dist export-ignore
9-
/psalm.xml.dist export-ignore
109
/tests export-ignore

.github/workflows/static-analysis.yml

-27
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,3 @@ jobs:
2727

2828
- name: "Run a static analysis with phpstan/phpstan"
2929
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-

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
/composer.lock
44
/phpcs.xml
55
/phpstan.neon
6-
/psalm.xml
76
/phpunit.xml
87
/vendor/

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# JSON RPC 2.0 PSR-7 Message Factory
22

33
[![GitHub Actions][GA Image]][GA Link]
4-
[![Shepherd Type][Shepherd Image]][Shepherd Link]
54
[![Code Coverage][Coverage Image]][CodeCov Link]
65
[![Downloads][Downloads Image]][Packagist Link]
76
[![Packagist][Packagist Image]][Packagist Link]
@@ -18,10 +17,6 @@ composer require simpod/json-rpc
1817

1918
[GA Link]: https://github.com/simPod/PhpJsonRpc/actions?query=workflow%3A%22CI%22+branch%3Amaster
2019

21-
[Shepherd Image]: https://shepherd.dev/github/simPod/PhpJsonRpc/coverage.svg
22-
23-
[Shepherd Link]: https://shepherd.dev/github/simPod/PhpJsonRpc
24-
2520
[Coverage Image]: https://codecov.io/gh/simPod/PhpJsonRpc/branch/master/graph/badge.svg
2621

2722
[CodeCov Link]: https://codecov.io/gh/simPod/PhpJsonRpc/branch/master

composer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@
3030
"phpstan/phpstan-phpunit": "^1.0.0",
3131
"phpstan/phpstan-strict-rules": "^1.0.0",
3232
"phpunit/phpunit": "^10.3",
33-
"psalm/plugin-phpunit": "0.18.4",
3433
"psr-mock/http": "^1.0",
35-
"thecodingmachine/phpstan-safe-rule": "^1.0",
36-
"vimeo/psalm": "^5.0"
34+
"thecodingmachine/phpstan-safe-rule": "^1.0"
3735
},
3836
"config": {
3937
"allow-plugins": {

psalm.xml.dist

-24
This file was deleted.

0 commit comments

Comments
 (0)