Skip to content

(fix): use PIPESTATUS to capture phpunit exit code through tee pipe #53

(fix): use PIPESTATUS to capture phpunit exit code through tee pipe

(fix): use PIPESTATUS to capture phpunit exit code through tee pipe #53

name: Static Analysis
on:
push:
branches: [main]
pull_request:
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: swoole, redis, sockets, ffi
tools: composer:v2
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Run PHPStan
run: composer check