Skip to content

Commit 3cc7840

Browse files
Merge pull request #25 from superrosko/feature/psalm-integration
feat: add Psalm integration
2 parents e0ea083 + 67b79d4 commit 3cc7840

File tree

10 files changed

+4462
-1024
lines changed

10 files changed

+4462
-1024
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
/phpunit.xml
55
/vendor/
66
/.phpunit.result.cache
7-
/.phpcs-cache

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"laminas/laminas-validator": "^2.8.1",
5151
"laminas/laminas-view": "^2.11.3",
5252
"phpspec/prophecy-phpunit": "^2.0",
53-
"phpunit/phpunit": "^9.5.10"
53+
"phpunit/phpunit": "^9.5.10",
54+
"psalm/plugin-phpunit": "^0.16.1",
55+
"vimeo/psalm": "^4.7"
5456
},
5557
"autoload": {
5658
"psr-4": {
@@ -69,6 +71,7 @@
6971
],
7072
"cs-check": "phpcs",
7173
"cs-fix": "phpcbf",
74+
"static-analysis": "psalm --shepherd --stats",
7275
"test": "phpunit --colors=always",
7376
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
7477
},

composer.lock

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

0 commit comments

Comments
 (0)