diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml new file mode 100644 index 00000000..4c1f9dd6 --- /dev/null +++ b/.github/workflows/psalm.yml @@ -0,0 +1,15 @@ +on: + pull_request: null + push: + branches: + - master + - '*.*' + +name: static analysis + +jobs: + psalm: + uses: spiral/gh-actions/.github/workflows/psalm.yml@master + with: + os: >- + ['ubuntu-latest'] diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 4e87c6ab..25b43c3e 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -297,6 +297,9 @@ ], )]]> + + $alias + $class $class