Skip to content

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility #88

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility #88

Workflow file for this run

name: Static analysis
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
permissions:
contents: read
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [8.1]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: pdo, mbstring, pcre, curl, json
ini-values: "memory_limit=-1"
tools: composer:v2, phpstan
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php-versions }}-composer-
- name: Install dependencies
run: composer install --no-progress --prefer-dist --no-interaction
- name: Run PHPStan
run: phpstan analyse -vvv -l 5 src