Skip to content

Merge pull request #235 from stof/fix_php_deprecation #228

Merge pull request #235 from stof/fix_php_deprecation

Merge pull request #235 from stof/fix_php_deprecation #228

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"