Skip to content

Commit 95a4445

Browse files
fixup! Use own psalm instead of a global one
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent f709eaf commit 95a4445

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/static-code-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: Composer install
2222
run: composer i
2323
- name: Psalm
24-
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff && exit 1 )
25-
- name: Composer cleanup
26-
run: composer i --no-dev
24+
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
25+
- name: Check diff
26+
run: git diff -- . ':!lib/composer' && exit 1
2727
- name: Show potential changes in Psalm baseline
2828
run: |
2929
bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml)"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require-dev": {
1919
"nextcloud/coding-standard": "^0.3.0",
20-
"vimeo/psalm": "^3.17"
20+
"vimeo/psalm": "3.16.0"
2121
},
2222
"scripts": {
2323
"cs:fix": "php-cs-fixer fix",

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)