Skip to content

Minor fixes

Minor fixes #551

name: Static Code Analysis
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
PHP_VERSION: "8.0"
jobs:
psalm:
runs-on: ubuntu-latest
name: Psalm
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Check out source code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up PHP
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # 2.26.0
with:
coverage: none
php-version: ${{ env.PHP_VERSION }}
- name: Install dependencies
uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # tag=2.2.0
- name: Run psalm
run: composer psalm -- --output-format=github