-
Notifications
You must be signed in to change notification settings - Fork 31
/
phpstan.neon
54 lines (54 loc) · 1.39 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- phpstan-baseline.neon
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false
scanFiles:
- vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
paths:
- notification.php
- load.php
- uninstall.php
- src/
- compat/
typeAliases:
NotificationData: '''
array{
hash?: string,
title?: string,
trigger?: BracketSpace\Notification\Interfaces\Triggerable,
carriers?: array<string,BracketSpace\Notification\Interfaces\Sendable>,
enabled?: bool,
extras?: array<string, array<mixed>|bool|float|int|string>,
version?: int,
}
'''
NotificationAsArray: '''
array{
hash: string,
title: string,
trigger: string,
carriers: array<string,array<string,mixed>>,
enabled: bool,
extras: array<string, array<mixed>|bool|float|int|string>,
version: int,
}
'''
NotificationUnconvertedData: '''
array{
hash?: string,
title?: string,
trigger?: BracketSpace\Notification\Interfaces\Triggerable|string,
carriers?: array<string,BracketSpace\Notification\Interfaces\Sendable|array<string,mixed>>,
enabled?: bool,
extras?: array<string, array<mixed>|bool|float|int|string>,
version?: int,
}
'''
excludePaths:
- compat/src-deprecated/helpers.php
- compat/stubs.php
- dependencies/
- src/Utils/EDDUpdater.php