-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
30 lines (30 loc) · 995 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
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
parameters:
root: %rootDir%/../../../../../
tmpDir: var/cache2
excludes_analyse:
- %root%/var/
- app/Models/Utility/Panel.php
universalObjectCratesClasses:
- Mockery\ExpectationInterface
- Mockery\HigherOrderMessage
- Nette\Utils\ArrayHash
- Nette\Bridges\ApplicationLatte\Template
- Nette\Application\UI\ITemplate
autoload_directories:
- tests
fileExtensions:
- php
- phpt
autoload_files:
- vendor/autoload.php
- tests/autoloadForPhpstan.php
ignoreErrors:
- '#Only booleans are allowed in a negated boolean, int given.#'
- '#Call to an undefined method Nette\\Application\\IPresenter::getName().#'
- '#Call to an undefined method Nette\\Application\\IResponse::getSource().#'
- '#Call to an undefined method Nette\\Application\\IResponse::getPayload().#'