Skip to content

[TASK] updates phpstan config and updates/ adapts several classes acc… #99

[TASK] updates phpstan config and updates/ adapts several classes acc…

[TASK] updates phpstan config and updates/ adapts several classes acc… #99

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
testsuite:
name: all tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
coverage: none
tools: composer:v2
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install
- name: Run static code analysis
run: "composer ci:static"
strategy:
fail-fast: false
matrix:
php: [ '8.2', '8.3' ]