-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
36 lines (36 loc) · 1.12 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
includes:
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
- castor.php
- .castor/
scanFiles:
- .castor.stub.php
tmpDir: 'var/phpstan/tmp'
inferPrivatePropertyTypeFromConstructor: true
excludePaths:
analyse: []
ignoreErrors:
- '{Property .* type has no value type specified in iterable type array\.}'
- '{Method .* return type has no value type specified in iterable type array\.}'
- '{Method .* has parameter .* with no value type specified in iterable type array\.}'
typeAliases:
ContextData: '''
array{
project_name: int,
root_domain: int,
extra_domains: string[],
php_version: string,
project_directory: string,
docker_compose_files: string[],
project_directory: string,
macos: bool,
power_shell: bool,
user_id: int,
root_dir: string,
env: string,
composer_cache_dir: string,
}
'''