Skip to content

PHPSDK-188: Prepare changes for the 5.19.0 release (#397) #20

PHPSDK-188: Prepare changes for the 5.19.0 release (#397)

PHPSDK-188: Prepare changes for the 5.19.0 release (#397) #20

name: Static Analysis
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Static_analysis:
runs-on: ubuntu-latest
name: PHPStan Static Analysis
strategy:
matrix:
php-version:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
steps:
- name: Install php
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
- name: Checkout SDK
uses: actions/checkout@v1
- name: Install dependencies
run: composer install
- name: Run PHPStan
run: vendor/bin/phpstan analyse --configuration=tests/phpstan/phpstan.neon --memory-limit 1G --error-format github