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
21 lines (21 loc) · 710 Bytes
/
phpstan.neon
File metadata and controls
21 lines (21 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: max
paths:
- scripts
- src
- php-cassandra.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/Uuid.php
message: '#Method Cassandra\\Value\\Uuid::random\(\) throws checked exception Random\\RandomException but it''s missing from the PHPDoc @throws tag\.#'
reportUnmatched: false