Skip to content

Address issues with more recent PHPStan versions #210

Address issues with more recent PHPStan versions

Address issues with more recent PHPStan versions #210

Workflow file for this run

on: [push, pull_request]
name: Static analysis
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --dry-run
phpstan:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: "actions/checkout@master"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.3"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse"