lint/psalm

This commit is contained in:
Robin Appelman 2022-04-08 17:17:26 +02:00
commit 1290acf675
6 changed files with 103 additions and 1 deletions

20
.github/workflows/static-analysis.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Php Static analysis
on: [push, pull_request]
jobs:
static-psalm-analysis:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: 7.4
tools: composer:v1
coverage: none
extensions: redis
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: composer run psalm