mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:54:03 +00:00
add phpstan
This commit is contained in:
parent
3605252d85
commit
1c65d6da07
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -102,3 +102,13 @@ jobs:
|
||||||
author_name: "PHP CS Fixer"
|
author_name: "PHP CS Fixer"
|
||||||
author_email: "phpcsfixer@example.com"
|
author_email: "phpcsfixer@example.com"
|
||||||
message: Fix code style (php-cs-fixer)
|
message: Fix code style (php-cs-fixer)
|
||||||
|
|
||||||
|
phpstan:
|
||||||
|
name: Static analysis (PHPStan)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install composer dependencies
|
||||||
|
run: composer install
|
||||||
|
- name: Run phpstan
|
||||||
|
run: vendor/bin/phpstan analyse
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue