-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpstan.neon
37 lines (34 loc) · 1.05 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
parameters:
level: 6
paths:
- src
- tests
- castor.php
- .castor/
scanFiles:
- .castor.stub.php
tmpDir: var/phpstan-tmp
inferPrivatePropertyTypeFromConstructor: true
symfony:
container_xml_path: '%rootDir%/../../../../../var/cache/test/JoliCode_SecretSanta_KernelTestDebugContainer.xml'
# Make tests analyses working with Symfony's PHPUnit bridge
bootstrapFiles:
- vendor/bin/.phpunit/phpunit-9.6-0/vendor/autoload.php
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,
}
'''