Skip to content

Merge pull request #18 from DAGpro/support-8-4-php #442

Merge pull request #18 from DAGpro/support-8-4-php

Merge pull request #18 from DAGpro/support-8-4-php #442

Workflow file for this run

name: static analysis
on:
pull_request:
push:
jobs:
static-analysis:
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [8.3]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=E_ALL
coverage: none
- name: Setup problem matchers
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Validate composer.json and composer.lock
run: composer validate --ansi --strict
- name: Install dependencies with composer
uses: ramsey/composer-install@v3
- name: Run Psalm Static Analysis
run: composer psalm:ci