Skip to content

Commit 9f933ff

Browse files
Update vimeo/psalm + Fix BC checker (#116)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent 8d83cf6 commit 9f933ff

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/bc.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
on:
2-
pull_request:
3-
push:
2+
- pull_request
3+
- push
44

55
name: backwards compatibility
66
jobs:
77
roave_bc_check:
8-
name: Roave BC Check
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@master
12-
- name: fetch tags
13-
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14-
- name: Roave BC Check
15-
uses: docker://nyholm/roave-bc-check-ga
8+
uses: yiisoft/actions/.github/workflows/bc.yml@master
9+
with:
10+
os: >-
11+
['ubuntu-latest']
12+
php: >-
13+
['8.0']

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"rector/rector": "^0.15.2",
4040
"roave/infection-static-analysis-plugin": "^1.16",
4141
"spatie/phpunit-watcher": "^1.23",
42-
"vimeo/psalm": "^4.18"
42+
"vimeo/psalm": "^4.30|^5.6"
4343
},
4444
"provide": {
4545
"psr/simple-cache-implementation": "2.0|3.0"

psalm.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<?xml version="1.0"?>
22
<psalm
33
errorLevel="1"
4+
findUnusedBaselineEntry="true"
5+
findUnusedCode="false"
46
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
57
xmlns="https://getpsalm.org/schema/config"
68
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
79
>
810
<projectFiles>
9-
<directory name="src" />
11+
<directory name="src"/>
1012
</projectFiles>
1113
</psalm>

0 commit comments

Comments
 (0)