diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 8694d2d..e34190e 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -29,4 +29,12 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0', '8.1', '8.2', '8.3'] + ['8.1', '8.2', '8.3'] + psalm80: + uses: yiisoft/actions/.github/workflows/psalm.yml@master + with: + psalm-config: psalm80.xml + os: >- + ['ubuntu-latest'] + php: >- + ['8.0'] diff --git a/composer.json b/composer.json index 61129eb..f5e7df7 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "rector/rector": "^0.19.0", "roave/infection-static-analysis-plugin": "^1.25", "spatie/phpunit-watcher": "^1.23", - "vimeo/psalm": "^4.30|^5.4" + "vimeo/psalm": "^4.30|^5.20" }, "autoload": { "psr-4": { diff --git a/psalm.xml b/psalm.xml index 7f490cc..6bf6e11 100644 --- a/psalm.xml +++ b/psalm.xml @@ -15,5 +15,6 @@ + diff --git a/psalm80.xml b/psalm80.xml new file mode 100644 index 0000000..7f490cc --- /dev/null +++ b/psalm80.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + +