Skip to content

Update lint-php.yml

Update lint-php.yml #6

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
configuration: phpstan.neon