Skip to content

Merge pull request #75 from laravel-shift/l11-compatibility #170

Merge pull request #75 from laravel-shift/l11-compatibility

Merge pull request #75 from laravel-shift/l11-compatibility #170

Workflow file for this run

name: PHPStan
on: [push, pull_request]
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: fileinfo, pdo
coverage: none
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run phpstan
run: ./vendor/bin/phpstan analyze