forked from phpDocumentor/guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
24 lines (20 loc) · 1015 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
# FlyFinder plugin adds a find method to FlySystem's Filesystem
- '#Call to an undefined method League\\Flysystem\\FilesystemInterface::find\(\)#'
- '#Method phpDocumentor\\Guides\\Handlers\\ParseDirectoryHandler::handle\(\) should return array<phpDocumentor\\Guides\\Nodes\\DocumentNode> but returns array<int<0, max>, mixed>#'
- '#Cannot call method end\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'
-
message: '#Unreachable statement - code above always terminates\.#'
path: packages/guides-restructured-text/tests/unit/Parser/Productions/GridTableRuleTest.php
paths:
- packages/guides/src
- packages/guides-markdown/src
- packages/guides-restructured-text/src
- packages/guides/tests
# - packages/guides-markdown/tests
- packages/guides-restructured-text/tests
tmpDir: .build/phpstan/