Skip to content

Client enhancement #595

Client enhancement

Client enhancement #595

name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
php-cs-fixer:
name: "Lint & Analyse"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
progress: yes
php_version: 8.0
version: 2
- name: "PHP-CS-Fixer"
run: vendor/bin/php-cs-fixer fix --dry-run
- name: "PSalm"
run: vendor/bin/psalm --show-info=true