From caa2969c16d0feffb50b5f1ec4cb056282e44114 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Tue, 7 Jan 2025 20:29:16 +0400 Subject: [PATCH] Configure Psalm in CI --- .github/workflows/psalm.yml | 15 +++++++++++++++ psalm-baseline.xml | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/psalm.yml 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