Skip to content

Commit

Permalink
phpstan.neon made more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Mar 4, 2021
1 parent aa59e9f commit b069180
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,42 @@ includes:
parameters:
ignoreErrors:
-
message: "#^Cannot call method filterData\\(\\) on Ublaboo\\\\DataGrid\\\\DataModel|null\\.$#"
message: '/^Cannot call method filter(Data|Row)\(\) on Ublaboo\\DataGrid\\DataModel\|null\.$/'
count: 2
path: src/DataGrid.php
-
message: "#^Call to an undefined method Nette\\\\Bridges\\\\ApplicationLatte\\\\Template::add\\(\\)\\.$#"
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\\.$#"
message: '/^Instanceof between Ublaboo\\DataGrid\\Filter\\Filter and Ublaboo\\DataGrid\\Filter\\FilterDateRange will always evaluate to false\.$/'
count: 1
path: src/DataGrid.php

-
message: "#^Cannot access offset 'submit' on Nette\\\\ComponentModel\\\\IComponent\\.$#"
message: "/^Cannot access offset 'submit' on Nette\\\\ComponentModel\\\\IComponent\\.$/"
count: 3
path: src/DataGrid.php

-
message: "#^Class dibi referenced with incorrect case\\: Dibi\\.$#"
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\\(\\)\\.$#"
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\\.$#"
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\\.$#"
message: '/^Instanceof between Dibi\\Result and Dibi\\Result will always evaluate to true\.$/'
count: 1
path: src/DataSource/DibiFluentMssqlDataSource.php

-
message: '/^Parameter #2 \$offset of method Nette\\Database\\Table\\Selection::limit\(\) expects int<0, max>\|null, int given\.$/'
count: 1
path: src/DataSource/NetteDatabaseTableDataSource.php
-
message: '/^Parameter #1 \$limit of method Nette\\Database\\Table\\Selection::limit\(\) expects int<0, max>\|null, int given\.$/'
count: 1
path: src/DataSource/NetteDatabaseTableDataSource.php

0 comments on commit b069180

Please sign in to comment.