Skip to content

Commit ef063c8

Browse files
committed
update stan config
1 parent 1dabb22 commit ef063c8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

phpstan.neon

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
parameters:
22
level: 8
3-
checkMissingIterableValueType: false
43
treatPhpDocTypesAsCertain: false
5-
checkGenericClassInNonGenericObjectType: false
64
paths:
75
- src/
6+
ignoreErrors:
7+
- identifier: missingType.iterableValue
8+
- identifier: missingType.generics
9+

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xmlns="https://getpsalm.org/schema/config"
66
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
7+
findUnusedBaselineEntry="true"
8+
findUnusedCode="false"
79
>
810
<projectFiles>
911
<directory name="src" />
@@ -14,5 +16,6 @@
1416

1517
<issueHandlers>
1618
<MissingClosureParamType errorLevel="info" />
19+
<RiskyTruthyFalsyComparison errorLevel="info" />
1720
</issueHandlers>
1821
</psalm>

0 commit comments

Comments
 (0)