-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (22 loc) · 836 Bytes
/
phpstan.neon
File metadata and controls
28 lines (22 loc) · 836 Bytes
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
parameters:
level: 9
phpVersion: 80000
paths:
- app
excludePaths:
- */tests/tmp/*
fileExtensions:
- php
- phpt
ignoreErrors:
# Nextras
- '#^Method App\\Model\\Database\\ORM\\[a-zA-Z]+\\[a-zA-Z]+::[a-zA-Z]+\(\) should return App\\Model\\Database\\ORM\\[a-zA-Z]+\\[a-zA-Z]+\|null but returns Nextras\\Orm\\Entity\\IEntity\|null\.$#'
- '#^Method App\\Model\\Facade\\[a-zA-Z]+::[a-zA-Z]+\(\) should return App\\Model\\Database\\ORM\\[a-zA-Z]+\\[a-zA-Z]+\|null but returns Nextras\\Orm\\Entity\\IEntity\|null\.$#'
# Nette Presenters
- '#Access to an undefined property Nette\\ComponentModel\\IComponent::\$controlPrototype.#'
includes:
- phpstan-baseline.neon
# Extensions
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
#- vendor/nextras/orm-phpstan/extension.neon