Skip to content

Commit 15837e8

Browse files
committed
Introduce code linting using Psalm
1 parent a7e1c46 commit 15837e8

File tree

4 files changed

+852
-3
lines changed

4 files changed

+852
-3
lines changed

Diff for: composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@
2121
},
2222
"require-dev": {
2323
"phpunit/phpunit": "^9",
24-
"spatie/phpunit-watcher": "^1.22"
24+
"spatie/phpunit-watcher": "^1.22",
25+
"vimeo/psalm": "^4.10"
2526
},
2627
"config": {
2728
"process-timeout": 0
2829
},
2930
"scripts": {
3031
"test": "phpunit",
31-
"test:watch": "phpunit-watcher watch"
32+
"test:watch": "phpunit-watcher watch",
33+
"lint": "psalm"
3234
},
3335
"autoload": {
3436
"psr-4": {

0 commit comments

Comments
 (0)