-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan.neon
35 lines (33 loc) · 972 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
34
35
parameters:
level: 6
paths:
- src
- castor.php
excludePaths:
- 'src/Factory'
scanFiles:
- .castor.stub.php
scanDirectories:
- .castor
tmpDir: tools/phpstan/var
inferPrivatePropertyTypeFromConstructor: true
checkGenericClassInNonGenericObjectType: false
symfony:
container_xml_path: '%rootDir%/../../../../../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,
env: string,
composer_cache_dir: string,
}
'''