Skip to content

Remove ignoreErrors attribute from phpstan config #6

Remove ignoreErrors attribute from phpstan config

Remove ignoreErrors attribute from phpstan config #6

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [7.4, 8.0, 8.1, 8.2]
steps:
- uses: actions/checkout@v2
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Validate composer.json
run: composer validate --no-check-all --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run code sniffer
run: composer run-script cs-check
- name: Run phpstan
run: composer run-script phpstan
- name: Run test suite
run: composer run-script test