blob: deb9d790652989441f4176ee1e95bdb869d53ad9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
name: Static analysis
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
name: phpstan
steps:
- uses: actions/checkout@v2
- run: composer validate
- run: composer global require phpstan/phpstan phpstan/extension-installer phpstan/phpstan-deprecation-rules phpstan/phpstan-strict-rules phpstan/phpstan-phpunit
- run: composer install --no-progress
- run: ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app modules_v4 index.php
|