Skip to content

fix(phpstan): narrow samesite cookie type to satisfy PHPStan level 8 #31

fix(phpstan): narrow samesite cookie type to satisfy PHPStan level 8

fix(phpstan): narrow samesite cookie type to satisfy PHPStan level 8 #31

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: [master, main]
jobs:
test:
name: PHP ${{ matrix.php }} Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2", "8.3"]
steps:
- uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo, pdo_mysql, mbstring, curl
coverage: xdebug
- name: Validate composer.json
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Run PHPUnit
run: vendor/bin/phpunit --configuration phpunit.xml --coverage-text
static-analysis:
name: PHPStan Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
extensions: pdo, mbstring, curl
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Run PHPStan
run: vendor/bin/phpstan analyse --configuration phpstan.neon
continue-on-error: true