-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan.neon.dist
35 lines (35 loc) · 1.27 KB
/
phpstan.neon.dist
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
31
32
33
34
35
parameters:
level: 5
paths:
- bin
- src
- tests
ignoreErrors:
-
path: src/orm/hyperf/Log.php
messages:
- '#Call to an undefined method Hyperf\\Database\\ConnectionInterface::getTablePrefix\(\).#'
- '#Call to an undefined method Hyperf\\Database\\ConnectionInterface::getDatabaseName\(\).#'
-
paths:
- tests/illuminate/DbTest.php
- tests/illuminate/ModelTest.php
- tests/illuminate/TestCase.php
message: '#Call to an undefined static method Illuminate\\Database\\Capsule\\Manager::.*\(\)#'
-
paths:
- tests/think/DbTest.php
- tests/think/ModelTest.php
messages:
- '#Call to an undefined method think\\db\\BaseQuery::inc\(\)#'
- '#Call to an undefined method think\\db\\BaseQuery::dec\(\)#'
-
path: tests/think/TestCase.php
messages:
- '#Call to an undefined method think\\db\\ConnectionInterface::query\(\)#'
- '#Call to an undefined static method think\\facade\\Db::query\(\)#'
-
paths:
- tests/hyperf/TestCase.php
- tests/hyperf/config/autoload/annotations.php
message: '#Constant BASE_PATH not found.#'