Skip to content

Commit b62689f

Browse files
committed
fix: static analysis
1 parent 3b96345 commit b62689f

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

phpstan.neon.dist

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,21 @@ parameters:
1010

1111
ignoreErrors:
1212
- '#Unsafe usage of new static\(\).#'
13-
- identifier: missingType.iterableValue
13+
- identifier: missingType.iterableValue
14+
- identifier: argument.type
15+
- identifier: cast.string
16+
- identifier: foreach.nonIterable
17+
- identifier: binaryOp.invalid
18+
- identifier: offsetAccess.nonOffsetAccessible
19+
- identifier: return.type
20+
- identifier: method.nonObject
21+
- identifier: varTag.nativeType
22+
- identifier: assign.propertyType
23+
- identifier: callable.nonCallable
24+
- identifier: property.nonObject
1425

1526
excludePaths:
1627
- src/helper.php
28+
29+
noEnvCallsOutsideOfConfig: false
30+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)