Skip to content

Commit 803b80b

Browse files
committed
Composer: Add PhpStan
1 parent 5d7de0c commit 803b80b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@
1212
"require": {
1313
"php": "^8.2"
1414
},
15+
"require-dev": {
16+
"phpstan/phpstan": "1.10.33"
17+
},
1518
"autoload": {
1619
"psr-4": {
1720
"JakubBoucek\\OpenWhisk\\Runtime\\": "src/"
1821
}
1922
},
2023
"config": {
2124
"sort-packages": true
25+
},
26+
"scripts": {
27+
"phpstan": "phpstan analyse src --level 5"
2228
}
2329
}

0 commit comments

Comments
 (0)