-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.neon
19 lines (17 loc) · 1.46 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/eloquent/phpstan-phony/phony.neon
- vendor/contributte/codeception/extension.neon
parameters:
excludes_analyse:
- %rootDir%/../../../tests/_*
ignoreErrors:
- '~^Call to an undefined method Nette\\Application\\UI\\Presenter::getVerifier\(\)~'
- '~^Call to protected method createRequest\(\) of class Nette\\Application\\UI\\Presenter~'
- '~^Method Tests\\Functional\\Classes\\ArticlePresenter::~'
- '~^Parameter #2 \$destination of method Tests\\Functional\\Classes\\ArticlePresenter::~'
- '~^Return type \(mixed\) of method Tests\\Functional\\Classes\\ArticlePresenter::createRequest\(\) should be covariant with return type \(string\|null\) of method Nette\\Application\\UI\\Presenter::createRequest\(\)~'
- '~Parameter #1 \$reflection \(ReflectionClass\|ReflectionMethod\) of method Tests\\Functional\\Classes\\[a-zA-Z]++::checkRequirements\(\) should be contravariant with parameter \$element \(mixed\) of method Nette\\Application\\UI\\(?:Component|Presenter)::checkRequirements\(\)~'
- '~Parameter #1 \$component \(Nette\\ComponentModel\\IComponent\) of method Tests\\Functional\\Classes\\[a-zA-Z]++::attached\(\) should be contravariant with parameter \$presenter \(mixed\) of method Nette\\Application\\UI\\Component::attached\(\)~'