-
Notifications
You must be signed in to change notification settings - Fork 36
/
phpstan.neon
33 lines (31 loc) · 917 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
27
28
29
30
31
32
33
parameters:
level: 8
paths:
# - application/src
- application/public
- castor.php
- .castor/
scanFiles:
- .castor.stub.php
# scanDirectories:
# - application/vendor
tmpDir: tools/phpstan/var
inferPrivatePropertyTypeFromConstructor: true
# symfony:
# containerXmlPath: 'application/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,
}
'''