diff --git a/utils/phpstan-baseline/function.resultUnused.neon b/utils/phpstan-baseline/function.resultUnused.neon new file mode 100644 index 000000000000..7f8539d49820 --- /dev/null +++ b/utils/phpstan-baseline/function.resultUnused.neon @@ -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 diff --git a/utils/phpstan-baseline/loader.neon b/utils/phpstan-baseline/loader.neon index 32a5e05024d3..405c9a54ac16 100644 --- a/utils/phpstan-baseline/loader.neon +++ b/utils/phpstan-baseline/loader.neon @@ -1,4 +1,4 @@ -# total 2010 errors +# total 2012 errors includes: - argument.type.neon @@ -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