Skip to content

Commit 20905d2

Browse files
authored
ci: drop psalm (#105)
1 parent 9deb63d commit 20905d2

File tree

5 files changed

+1
-56
lines changed

5 files changed

+1
-56
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
/phpstan.neon.dist export-ignore
99
/phpstan-baseline.neon export-ignore
1010
/phpunit.xml.dist export-ignore
11-
/psalm.xml.dist export-ignore
1211
/tests export-ignore

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -36,35 +36,3 @@ jobs:
3636

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

.gitignore

Lines changed: 0 additions & 1 deletion
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/

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@
3636
"phpstan/phpstan-phpunit": "^1.0.0",
3737
"phpstan/phpstan-strict-rules": "^1.0.0",
3838
"phpunit/phpunit": "^10.3",
39-
"psalm/plugin-phpunit": "^0.19.0",
4039
"symfony/yaml": "^7.0",
41-
"thecodingmachine/phpstan-safe-rule": "^1.0",
42-
"vimeo/psalm": "^5.8"
40+
"thecodingmachine/phpstan-safe-rule": "^1.0"
4341
},
4442
"suggest": {
4543
"kwn/php-rdkafka-stubs": "Support and autocompletion for RDKafka in IDE | require as dev dependency"

psalm.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)