Skip to content

Commit

Permalink
Configure Psalm in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Jan 7, 2025
1 parent b46510f commit caa2969
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
pull_request: null
push:
branches:
- master
- '*.*'

name: static analysis

jobs:
psalm:
uses: spiral/gh-actions/.github/workflows/psalm.yml@master
with:
os: >-
['ubuntu-latest']
3 changes: 3 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@
],
)]]></code>
</LessSpecificReturnStatement>
<MethodSignatureMismatch>
<code>$alias</code>
</MethodSignatureMismatch>
<MixedArgument>
<code>$class</code>
<code>$class</code>
Expand Down

0 comments on commit caa2969

Please sign in to comment.