From a3734486ebcfaf3c95ecb2c82caabda1a9d0263a Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 3 Sep 2020 20:29:26 +0200 Subject: [PATCH] Except null as default param value rule of phpstan --- rules/phpstan-rules.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/phpstan-rules.neon b/rules/phpstan-rules.neon index 43f7d53..92a62c2 100644 --- a/rules/phpstan-rules.neon +++ b/rules/phpstan-rules.neon @@ -5,6 +5,7 @@ parameters: ignoreErrors: - '#Class (MDMysqliInvalidInput|MDMysqliExpectedError|MDExpectedException|MDgenericInvalidInputsException) is neither abstract nor final.#' - '#Method MDMysqli::_check_query_efficiency\(\) is unused.#' + - '# with null as default value.#' polluteScopeWithLoopInitialAssignments: false polluteScopeWithAlwaysIterableForeach: false checkAlwaysTrueCheckTypeFunctionCall: true