Skip to content

Commit

Permalink
Add PHPStan to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Sep 28, 2023
1 parent 53f9774 commit c45f240
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PHPStan

on: [push]

jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
uses: php-actions/composer@v6
with:
command: update
php_version: "7.4"

- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
with:
level: 5
path: Classes/

0 comments on commit c45f240

Please sign in to comment.