-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
40 lines (40 loc) · 1.09 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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
treatPhpDocTypesAsCertain: false
scanFiles:
- compat/notification-stubs.php
- compat/buddypress-stubs.php
- vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
paths:
- notification-buddypress.php
- load.php
- uninstall.php
- src/
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,
}
'''
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:
- dependencies/