-
Notifications
You must be signed in to change notification settings - Fork 832
/
phpstan.neon
28 lines (28 loc) · 1019 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
25
26
27
28
includes:
- phpstan-baseline.neon
parameters:
level: 6
paths:
- src
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
scanFiles:
- src/AdapterTestUtilities/test-functions.php
excludePaths:
- src/AdapterTestUtilities/
- src/AsyncAwsS3
- src/AwsS3V3
- src/FTP
- src/InMemory
- src/PhpseclibV2
- src/PhpseclibV3
ignoreErrors:
- '#invalid typehint type FTP\\Connection#'
- '#FTP\\Connection not found#'
- '#unknown class FTP\\Connection#'
- '#Call to function iterator_to_array\(\) on a separate line has no effect\.#'
- '#Comparison operation "<" between 0|1 and 4 is always true.#'
- '#Method League\\Flysystem\\AwsS3V3\\S3ClientStub.*#'
- '#Constant NET_SFTP_TYPE_DIRECTORY not found\.#'
- '#\$local_file of method phpseclib\\Net\\SFTP::get\(\) expects string, resource given#'