-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan.neon
19 lines (19 loc) · 930 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
level: 9
paths:
- src
- tests
excludePaths:
analyse:
- tests/Weblog
scanDirectories:
- vendor/rougin/codeigniter/src
ignoreErrors:
- '#^Access to an undefined property CI_Controller\:\:\$db\.$#'
- '#^Access to an undefined property CI_Controller\:\:\$post\.$#'
- '#^Call to an undefined method CI_DB_query_builder\:\:insert_id\(\)\.$#'
- '#^Call to an undefined method CI_Loader\:\:repository\(\)\.$#'
- '#^Constant APPPATH not found\.$#'
- '#^Method Rougin\\Credo\\Model\:\:metadata\(\) return type with generic class Doctrine\\ORM\\Mapping\\ClassMetadata does not specify its types\: T$#'
- '#^Parameter \#2 \$lockMode of method Doctrine\\ORM\\EntityRepository\<object\>\:\:find\(\) expects 0\|1\|2\|4\|null, int\|null given\.$#'
- '#^Parameter \#1 \$builder of class Rougin\\Credo\\Credo constructor expects CI_DB_query_builder\|null, CI_DB given\.$#'