Skip to content

MongoDb storage driver: not rely on default typeMap #7

MongoDb storage driver: not rely on default typeMap

MongoDb storage driver: not rely on default typeMap #7

Workflow file for this run

name: PHPStan
on:
push:
pull_request:
jobs:
cs:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
stability: [ prefer-stable ]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Install composer dependencies
uses: nick-invision/retry@v2
with:
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-plugins --no-scripts --no-progress
max_attempts: 5
timeout_minutes: 5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run PHP CodeSniffer
run: vendor/bin/phpstan