Skip to content

Bump phpstan/phpstan from 1.12.7 to 2.0.2 #297

Bump phpstan/phpstan from 1.12.7 to 2.0.2

Bump phpstan/phpstan from 1.12.7 to 2.0.2 #297

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
dependency-versions:
- "lowest"
- "highest"
steps:
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- uses: "shivammathur/setup-php@v2"
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: ${{ matrix.dependency-versions }}
- name: Run PHPStan
run: vendor/bin/phpstan