Skip to content

Commit 4a1b1c6

Browse files
author
Artem Stepin
committed
added psalm
1 parent 4226cb7 commit 4a1b1c6

File tree

8 files changed

+2529
-912
lines changed

8 files changed

+2529
-912
lines changed

.github/workflows/quality.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ on:
77
name: CodeQuality
88

99
jobs:
10+
psalm:
11+
name: Psalm
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
- name: Psalm
17+
uses: docker://vimeo/psalm-github-actions
18+
with:
19+
security_analysis: true
20+
report_file: results.sarif
21+
- name: Upload Security Analysis results to GitHub
22+
uses: github/codeql-action/upload-sarif@v1
23+
with:
24+
sarif_file: results.sarif
1025
phpstan:
1126
name: PHPStan
1227

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "CloudPlayDev/confluence-php-client",
2+
"name": "cloudplaydev/confluence-php-client",
33
"description": "Confluence API PHP Client",
44
"version": "2.1.3",
55
"license": "MIT",
@@ -36,6 +36,7 @@
3636
},
3737
"require-dev": {
3838
"phpunit/phpunit": "^9.5.5",
39-
"phpstan/phpstan": "^0.12.90"
39+
"phpstan/phpstan": "^0.12.90",
40+
"vimeo/psalm": "^4.8"
4041
}
4142
}

0 commit comments

Comments
 (0)