-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
37 lines (35 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
37
includes:
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
- public
- castor.php
- .castor/
scanFiles:
- .castor.stub.php
tmpDir: tools/phpstan/var
inferPrivatePropertyTypeFromConstructor: true
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\.}'
symfony:
container_xml_path: 'var/cache/dev/App_KernelDevDebugContainer.xml'
typeAliases:
ContextData: '''
array{
project_name: string,
root_domain: string,
extra_domains: string[],
project_directory: string,
php_version: string,
docker_compose_files: string[],
macos: bool,
power_shell: bool,
user_id: int,
root_dir: string,
composer_cache_dir: string,
}
'''