Skip to content

Update analyse-php.yml #3

Update analyse-php.yml

Update analyse-php.yml #3

Workflow file for this run

name: PHP Static Analysis
on:
push:
branches:
- master
- dist
workflow_dispatch:
jobs:
phpstan:
name: PHP Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: mysql, mbstring, xml, imap, zip, gd, curl, intl, json
- name: Install composer dependencies
run: composer install --ignore-platform-reqs --no-interaction
- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
with:
memory_limit: 2G