Skip to content

Commit 9a80ffc

Browse files
committed
psalm, phpstan
1 parent cfe0cad commit 9a80ffc

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"require-dev": {
2727
"phpunit/phpunit": "^9.0",
2828
"mvc5/mvc5-tests": "^12.0",
29-
"guzzlehttp/guzzle": "^6.5"
29+
"guzzlehttp/guzzle": "^6.5",
30+
"vimeo/psalm": "^3.9.5",
31+
"phpstan/phpstan": "^0.12.17"
3032
}
3133
}

psalm.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<psalm
3+
totallyTyped="false"
4+
errorLevel="5"
5+
resolveFromConfigFile="true"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xmlns="https://getpsalm.org/schema/config"
8+
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
9+
>
10+
<projectFiles>
11+
<directory name="vendor/mvc5/mvc5/src" />
12+
<!-- <ignoreFiles>-->
13+
<!-- <directory name="vendor" />-->
14+
<!-- </ignoreFiles>-->
15+
</projectFiles>
16+
</psalm>

0 commit comments

Comments
 (0)