forked from modelcontextprotocol/php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
26 lines (24 loc) · 754 Bytes
/
Copy pathphpstan.dist.neon
File metadata and controls
26 lines (24 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
includes:
- phpstan-baseline.neon
parameters:
level: 6
paths:
- examples/
- src/
- tests/
excludePaths:
- examples/cli/vendor/* (?)
- tests/Unit/Capability/Discovery/Fixtures/
- tests/Unit/Capability/Discovery/SchemaGeneratorFixture.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
-
identifier: missingType.iterableValue
path: tests/
# These errors should actually be fixed, but are ignored for now
-
identifier: missingType.iterableValue
path: src/Capability/Discovery/SchemaGenerator.php
count: 12