Skip to content

fix stub

fix stub #65

name: Qodana
on:
push:
branches:
- main
jobs:
qodana:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "8.1"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: pcntl, sync
coverage: none
env:
fail-fast: true
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: "highest"
composer-options: "--no-dev --ignore-platform-reqs --optimize-autoloader"
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}