Skip to content

Add Symfony 7 constraint to composer #63

Add Symfony 7 constraint to composer

Add Symfony 7 constraint to composer #63

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