Skip to content

Merge pull request #642 from doctrine/json-schema #1038

Merge pull request #642 from doctrine/json-schema

Merge pull request #642 from doctrine/json-schema #1038

name: "Static Analysis"
on: ["push", "pull_request"]
jobs:
code-analysis:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.3"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
composer-options: "--prefer-dist --no-progress --no-suggest"
- name: "Run PHPStan"
run: "./vendor/bin/phpstan analyse"