Skip to content

Update dependency phpstan/phpstan to v2 #245

Update dependency phpstan/phpstan to v2

Update dependency phpstan/phpstan to v2 #245

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build-php:
name: Prepare PHP
runs-on: ubuntu-22.04
strategy:
matrix:
php:
- "8.2"
steps:
- name: Build and prepare PHP cache
uses: pmmp/setup-php-action@main
with:
php-version: ${{ matrix.php }}
install-path: "../bin"
pm-version-major: "5"
phpstan:
name: phpstan analyze
needs: [build-php]
runs-on: ubuntu-22.04
strategy:
matrix:
php:
- "8.2"
steps:
- uses: actions/checkout@v4
- uses: pmmp/setup-php-action@main
with:
php-version: ${{ matrix.php }}
install-path: "../bin"
pm-version-major: "5"
- name: Install Composer
run: curl -sS https://getcomposer.org/installer | php
- run: composer install
- name: phpstan analyze
run: composer analyze