Skip to content

Update README.md

Update README.md #183

Workflow file for this run

name: PHPStan
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.1']
name: PHP ${{ matrix.php-version }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl, apcu
ini-values: apc.enable_cli = 1
- name: Update composer
run: composer self-update
- name: Validate composer.json
run: composer validate
- name: Install composer
run: composer update --prefer-dist --no-progress --no-suggest --prefer-stable
- name: Install PHPStan
run: composer stan-setup
- name: Run phpstan
run: composer phpstan