Fixed PHPstan detections.
This commit is contained in:
parent
96cc58f820
commit
3c10fb0de0
63 changed files with 289 additions and 107 deletions
28
phpstan.neon
28
phpstan.neon
|
@ -1,9 +1,37 @@
|
|||
parameters:
|
||||
level: 5
|
||||
paths:
|
||||
- database
|
||||
- src
|
||||
- public
|
||||
- public-legacy
|
||||
bootstrapFiles:
|
||||
- misuzu.php
|
||||
dynamicConstantNames:
|
||||
- MSZ_CLI
|
||||
- MSZ_DEBUG
|
||||
ignoreErrors:
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/forum/posting.php
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/forum/topic.php
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/manage/changelog/tag.php
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/manage/news/category.php
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/manage/news/post.php
|
||||
-
|
||||
identifier: variable.undefined
|
||||
path: public-legacy/manage/users/note.php
|
||||
-
|
||||
identifier: empty.offset
|
||||
path: public-legacy/search.php
|
||||
-
|
||||
identifier: offsetAccess.notFound
|
||||
path: public-legacy/search.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue