Skip to content

lock code quality at level 5 for tests and set 6 for src #100

lock code quality at level 5 for tests and set 6 for src

lock code quality at level 5 for tests and set 6 for src #100

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: PHP Composer
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-interaction
- name: Run PHPUnit tests
run: vendor/bin/phpunit
- name: Run PhpStan Analyse Code
run: vendor/bin/phpstan analyse --level=6 src
- name: Run PhpStan Analyse Code
run: vendor/bin/phpstan analyse --level=5 tests