Skip to content

Commit de81749

Browse files
authored
Merge branch 'master' into enh-getValue
2 parents c7092fb + 86826e9 commit de81749

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

.github/workflows/static.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,12 @@ jobs:
2929
os: >-
3030
['ubuntu-latest']
3131
php: >-
32-
['8.0', '8.1', '8.2', '8.3']
32+
['8.1', '8.2', '8.3']
33+
psalm80:
34+
uses: yiisoft/actions/.github/workflows/psalm.yml@master
35+
with:
36+
psalm-config: psalm80.xml
37+
os: >-
38+
['ubuntu-latest']
39+
php: >-
40+
['8.0']

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"rector/rector": "^0.19.0",
3838
"roave/infection-static-analysis-plugin": "^1.25",
3939
"spatie/phpunit-watcher": "^1.23",
40-
"vimeo/psalm": "^4.30|^5.4"
40+
"vimeo/psalm": "^4.30|^5.20"
4141
},
4242
"autoload": {
4343
"psr-4": {

psalm.xml

+1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
</projectFiles>
1616
<issueHandlers>
1717
<MixedAssignment errorLevel="suppress" />
18+
<RiskyTruthyFalsyComparison errorLevel="suppress" />
1819
</issueHandlers>
1920
</psalm>

psalm80.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<psalm
3+
errorLevel="1"
4+
findUnusedBaselineEntry="true"
5+
findUnusedCode="false"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xmlns="https://getpsalm.org/schema/config"
8+
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
9+
>
10+
<projectFiles>
11+
<directory name="src" />
12+
<ignoreFiles>
13+
<directory name="vendor"/>
14+
</ignoreFiles>
15+
</projectFiles>
16+
<issueHandlers>
17+
<MixedAssignment errorLevel="suppress" />
18+
</issueHandlers>
19+
</psalm>

0 commit comments

Comments
 (0)