-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
25 lines (25 loc) · 1.15 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
parameters:
excludes_analyse:
- %rootDir%/../../../var/*
- %rootDir%/../../../public/*
- %rootDir%/../../../config/*
- %rootDir%/../../../vendor/*
- %rootDir%/../../../tests/*
- %rootDir%/../../../php_cs.php
autoload_directories:
- %rootDir%/../../../src
includes:
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
parameters:
symfony:
# container_xml_path: %rootDir%/../../../var/cache/dev/srcDevDebugProjectContainer.xml
container_xml_path: %rootDir%/../../../var/cache/dev/srcApp_KernelDevDebugContainer.xml
ignoreErrors:
- '#PHPDoc tag @return with type object is not subtype of native type#'
- '#Method .* should return .* but returns object#'
- '#Method .* should return .* but returns .*ObjectRepository#'
- '#PHPDoc tag @return with type .*ObjectRepository is not subtype of native type .*Repository#'