Skip to content

chore(deps): pin dependencies #86

chore(deps): pin dependencies

chore(deps): pin dependencies #86

Workflow file for this run

name: PHPStan
on:
push:
pull_request:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
name: Static analysis
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Install PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2
with:
coverage: none
php-version: "8.3"
tools: cs2pr
- name: Install dependencies with composer
run: composer install
- if: ${{ github.base_ref == '' }}
run: composer phpstan
- name: Run a static analysis with phpstan/phpstan
if: ${{ github.base_ref != '' }}
run: composer phpstan -- --error-format=checkstyle | cs2pr