Skip to content

Commit

Permalink
+ PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Apr 7, 2024
1 parent eb94e17 commit 9f0ad73
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PHPStan

on:
push:
branches: [main]
pull_request:

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: php-actions/composer@v6
with:
php_extensions: brotli zstd zlib
- uses: php-actions/phpstan@v3
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
},
"config": {
"sort-packages": true
},
"require-dev": {
"phpstan/phpstan": "^1.10"
}
}
67 changes: 65 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f0ad73

Please sign in to comment.