mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:24:04 +00:00
[4.x] [WIP] Add phpstan to CI (#928)
* add phpstan * resolve phpstan issue from CI Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
942d79cbd7
commit
99dd862b20
3 changed files with 15 additions and 2 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -103,3 +103,12 @@ jobs:
|
|||
author_email: "phpcsfixer@example.com"
|
||||
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