-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (18 loc) · 1003 Bytes
/
phpstan.neon
File metadata and controls
19 lines (18 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
inferPrivatePropertyTypeFromConstructor: true
excludes_analyse:
- %rootDir%/../../../migrations/*
symfony:
container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface::denormalize\(\)#'
- '#Call to an undefined method object::.+#'
- '#Parameter \#1 \$owner of method App\\Entity\\Offer::setOwner\(\) expects App\\Entity\\Company, App\\Entity\\User given#'
- '#Parameter \#1 \$candidate of method App\\Entity\\Application::setCandidate\(\) expects App\\Entity\\Particular, App\\Entity\\User\|null given#'
- '#Call to an undefined method App\\Entity\\User::.+#'
doctrine:
objectManagerLoader: config/object-manager.php
includes:
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.neon