Skip to content

Ensure the server negotiator has a response factory #45

Ensure the server negotiator has a response factory

Ensure the server negotiator has a response factory #45

name: 'Static Analysis'
on: [push, pull_request]
jobs:
sa-phpstan:
runs-on: ubuntu-latest
name: PHPStan
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer:v2,flex
extensions: curl, iconv, mbstring, zip
coverage: none
- name: Install dependencies
run: composer update --prefer-stable --prefer-dist
env:
SYMFONY_REQUIRE: '7.2.*'
- name: Run PHPStan
run: vendor/bin/phpstan analyze --error-format=github