Skip to content

PHP 8.1 erfordern, Code-Modernisierung, rexstan #50

PHP 8.1 erfordern, Code-Modernisierung, rexstan

PHP 8.1 erfordern, Code-Modernisierung, rexstan #50

Workflow file for this run

name: Static Analysis
on:
push:
branches: [main, bugfix, temp]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
psalm-analysis:
name: psalm static code analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: intl
coverage: none # disable xdebug, pcov
- name: Composer install
uses: ramsey/composer-install@v2
with:
composer-options: --ansi --prefer-dist
- name: Run psalm analysis
run: vendor/bin/psalm --show-info=false --shepherd --diff --output-format=github