forked from contributte/datagrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
66 lines (62 loc) · 2.25 KB
/
phpstan.neon
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
includes:
- ./vendor/contributte/code-rules/paveljanda/phpstan.neon
- ./vendor/phpstan/phpstan-nette/extension.neon
- ./vendor/phpstan/phpstan-nette/rules.neon
parameters:
level: 8
paths:
- src
reportMaybesInPropertyPhpDocTypes: false
ignoreErrors:
-
message: '/^Call to an undefined method Nette\\Bridges\\ApplicationLatte\\Template::add\(\)\.$/'
count: 2
path: src/DataGrid.php
-
message: '/^Instanceof between Ublaboo\\DataGrid\\Filter\\Filter and Ublaboo\\DataGrid\\Filter\\FilterDateRange will always evaluate to false\.$/'
count: 1
path: src/DataGrid.php
-
message: '/^Class dibi referenced with incorrect case\: Dibi\.$/'
count: 1
path: src/DataModel.php
-
message: '/^Call to an undefined method Nextras\\Orm\\Collection\\ICollection\:\:getQueryBuilder\(\)\.$/'
count: 2
path: src/DataSource/NextrasDataSource.php
-
message: '/^Class Dibi\\Drivers\\MsSqlDriver not found\.$/'
count: 1
path: src/DataModel.php
-
message: '/^Instanceof between Dibi\\Result and Dibi\\Result will always evaluate to true\.$/'
count: 1
path: src/DataSource/DibiFluentMssqlDataSource.php
-
message: "#^Cannot call method filterData\\(\\) on Ublaboo\\\\DataGrid\\\\DataModel\\|null\\.$#"
count: 1
path: src/DataGrid.php
-
message: "#^Cannot call method filterRow\\(\\) on Ublaboo\\\\DataGrid\\\\DataModel\\|null\\.$#"
count: 1
path: src/DataGrid.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:like\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func given\\.$#"
count: 1
path: src/DataSource/DoctrineDataSource.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 1
path: src/Column/Action.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 1
path: src/DataGrid.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 3
path: src/Export/Export.php
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
message: '#string\\|Stringable#'
count: 2
path: src/Status/Option.php