Skip to content

Commit 38cbba3

Browse files
Update to Psalm 4
1 parent 9261b41 commit 38cbba3

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: ./tools/composer update --no-interaction --no-ansi --no-progress
4545

4646
- name: Run vimeo/psalm
47-
run: ./tools/psalm --no-progress --shepherd --show-info=false --stats
47+
run: ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
4848

4949
backward-compatibility:
5050
name: Backward Compatibility

.phive/phars.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="php-cs-fixer" version="^2.16" installed="2.16.4" location="./tools/php-cs-fixer" copy="true"/>
4-
<phar name="psalm" version="^3.11" installed="3.18.2" location="./tools/psalm" copy="true"/>
4+
<phar name="psalm" version="^4.0" installed="4.0.1" location="./tools/psalm" copy="true"/>
55
<phar name="roave/backwardcompatibilitycheck" version="^5.0.0" installed="5.0.0" location="./tools/roave-backward-compatibility-check" copy="true"/>
66
</phive>

.psalm/baseline.xml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="4.0.1@b1e2e30026936ef8d5bf6a354d1c3959b6231f44"/>

psalm.xml renamed to .psalm/config.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="false"
43
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
54
xmlns="https://getpsalm.org/schema/config"
65
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
6+
resolveFromConfigFile="false"
7+
totallyTyped="false"
8+
errorBaseline=".psalm/baseline.xml"
79
>
810
<projectFiles>
911
<directory name="src" />

tools/psalm

64.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)