forked from thephpleague/flysystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
26 lines (26 loc) · 985 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
parameters:
level: 6
paths:
- src
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
scanFiles:
- src/AdapterTestUtilities/test-functions.php
excludes_analyse:
- 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#'