Skip to content

Commit

Permalink
Use psalm v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 7, 2022
1 parent da8b4a0 commit 0add8a4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
extensions: gd, imagick
tools: vimeo/psalm:4.15
tools: vimeo/psalm:5
- name: psalm
run: |
composer update --no-interaction --no-ansi --no-progress
Expand Down
10 changes: 10 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="dev-master@">
<file src="src/ServerFactory.php">
<UndefinedClass occurrences="3">
<code>Filesystem</code>
<code>Filesystem</code>
<code>Filesystem</code>
</UndefinedClass>
</file>
</files>
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src" />
Expand Down

0 comments on commit 0add8a4

Please sign in to comment.