diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index fb7fc77dd..e34190e8c 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -10,6 +10,7 @@ on: - 'phpunit.xml.dist' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -28,4 +29,12 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0', '8.1', '8.2'] + ['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 42eeb7600..497ef0336 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "rector/rector": "^0.19.0", "roave/infection-static-analysis-plugin": "^1.25", "spatie/phpunit-watcher": "^1.23", - "vimeo/psalm": "^4.30|^5.1", + "vimeo/psalm": "^4.30|^5.20", "yiisoft/aliases": "^3.0", "yiisoft/di": "^1.2", "yiisoft/psr-dummy-provider": "^1.0", diff --git a/psalm.xml b/psalm.xml index f4cecedef..b48c894ef 100644 --- a/psalm.xml +++ b/psalm.xml @@ -9,5 +9,12 @@ > + + + + + + + diff --git a/psalm80.xml b/psalm80.xml new file mode 100644 index 000000000..d091d59c2 --- /dev/null +++ b/psalm80.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + +