Skip to content

Merge pull request #5 from ProtonMail/ci-php-83-84-1 #6

Merge pull request #5 from ProtonMail/ci-php-83-84-1

Merge pull request #5 from ProtonMail/ci-php-83-84-1 #6

Workflow file for this run

name: PHP static analysis
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.2']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Install Dependencies
run: composer update --no-interaction --no-progress --ansi
- name: PhpStan
run: ./vendor/bin/phpstan analyse