Skip to content

Commit fdad8c5

Browse files
committed
chore: add phpstan as a development dependency and configure initial phpstan settings in phpstan.neon
1 parent 3468c18 commit fdad8c5

File tree

3 files changed

+67
-2
lines changed

3 files changed

+67
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"require-dev": {
2929
"pestphp/pest": "^v3",
3030
"pestphp/pest-plugin-faker": "^v3",
31-
"symfony/var-dumper": "^7"
31+
"symfony/var-dumper": "^7",
32+
"phpstan/phpstan": "^2.1"
3233
},
3334
"config": {
3435
"allow-plugins": {

composer.lock

Lines changed: 54 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
includes:
2+
- phar://phpstan.phar/conf/bleedingEdge.neon
3+
4+
parameters:
5+
6+
paths:
7+
- src
8+
9+
level: 1
10+
11+
tmpDir: /tmp/phpstan

0 commit comments

Comments
 (0)