Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions utils/phpstan-baseline/function.resultUnused.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# total 2 errors

parameters:
ignoreErrors:
-
message: '#^Call to function d\(\) on a separate line has no effect\.$#'
count: 1
path: ../../system/Commands/Utilities/ConfigCheck.php

-
message: '#^Call to function d\(\) on a separate line has no effect\.$#'
count: 1
path: ../../tests/system/CommonFunctionsTest.php
3 changes: 2 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# total 2010 errors
# total 2012 errors

includes:
- argument.type.neon
Expand All @@ -10,6 +10,7 @@ includes:
- codeigniter.superglobalAccessAssign.neon
- deadCode.unreachable.neon
- empty.notAllowed.neon
- function.resultUnused.neon
- method.alreadyNarrowedType.neon
- method.childParameterType.neon
- method.childReturnType.neon
Expand Down