-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
14 lines (12 loc) · 935 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
includes:
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/contributte/codeception/extension.neon
parameters:
excludes_analyse:
- %rootDir%/../../../tests/_*
ignoreErrors:
- '~^[a-zA-Z\\]++::__construct\(\) does not call parent constructor from Nette\\ComponentModel\\Component~'
- '~^Method Arachne\\Forms\\Application\\FormComponent::getPresenter\(\) should return Nette\\Application\\UI\\Presenter|null but returns Nette\\ComponentModel\\IComponent~'
- '~^Parameter #3 \$previous of class Nette\\Application\\BadRequestException constructor expects Exception|null, Symfony\\Component\\PropertyAccess\\Exception\\ExceptionInterface given~'
- '~^Parameter #2 \$request of method Arachne\\Forms\\Application\\FormComponent::process[a-zA-Z]++\(\) expects Nette\\Application\\Request, Nette\\Application\\Request\|null given~'