forked from duoshuo/php-cassandra
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
35 lines (35 loc) · 1.18 KB
/
Copy pathphpstan.neon
File metadata and controls
35 lines (35 loc) · 1.18 KB
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
27
28
29
30
31
32
33
34
35
parameters:
level: max
paths:
- scripts
- src
- php-cassandra.php
scanFiles:
- phpstan/ext-lz4.php
treatPhpDocTypesAsCertain: false
exceptions:
implicitThrows: false
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
ignoreErrors:
-
path: src/Value/Date.php
message: '#Dead catch - Exception is never thrown in the try block\.#'
reportUnmatched: false
-
path: src/Value/Duration.php
message: '#Dead catch - Exception is never thrown in the try block\.#'
reportUnmatched: false
-
path: src/Value/Uuid.php
message: '#Method Cassandra\\Value\\Uuid::random\(\) throws checked exception Random\\RandomException but it''s missing from the PHPDoc @throws tag\.#'
reportUnmatched: false
-
path: scripts/lz4/validate-compressor.php
identifier: throws.notThrowable
reportUnmatched: false
-
path: scripts/lz4/validate-decompressor.php
identifier: throws.notThrowable
reportUnmatched: false