Skip to content

Commit 547930d

Browse files
committed
use phpstan
1 parent 713eae0 commit 547930d

4 files changed

Lines changed: 65 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
coverage: none
2020
- name: Composer install
2121
run: composer install --no-interaction --no-ansi --no-progress
22-
- name: Run Psalm
23-
run: vendor/bin/psalm --no-progress --show-info=false --stats
22+
- name: Run PHPStan
23+
run: vendor/bin/phpstan

www/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"php": ">=8.1",
44
"psx/framework": "^7.0"
55
},
6+
"require-dev": {
7+
"phpstan/phpstan": "^2.1"
8+
},
69
"autoload": {
710
"psr-4": {
811
"App\\": "src/"

www/composer.lock

Lines changed: 56 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
level: 5
3+
paths:
4+
- src

0 commit comments

Comments
 (0)