Skip to content

Merge pull request #16 from doctrine/skeleton-mapper #22

Merge pull request #16 from doctrine/skeleton-mapper

Merge pull request #16 from doctrine/skeleton-mapper #22

name: "Static Analysis"
on:
pull_request:
branches:
- "*.x"
- "master"
push:
branches:
- "*.x"
- "master"
jobs:
static-analysis-phpstan:
name: "Static Analysis with PHPStan"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.1"
- 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"