diff --git a/rules/phpstan-rules.neon b/rules/phpstan-rules.neon index 92a62c2..3268fb5 100644 --- a/rules/phpstan-rules.neon +++ b/rules/phpstan-rules.neon @@ -3,7 +3,6 @@ includes: - ../../../vendor/phpstan/phpstan-deprecation-rules/rules.neon 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 @@ -18,7 +17,19 @@ parameters: reportStaticMethodSignatures: true ergebnis: allowAbstractClasses: true - classesNotRequiredToBeAbstractOrFinal: [] + classesNotRequiredToBeAbstractOrFinal: + - mysqli + - mysqli_stmt + - Exception + - MDGenericWriter + - MDGenericObject + - XMLParser + - LidoParser + - MDValueSet + - MDMysqliInvalidInput + - MDMysqliExpectedError + - MDgenericInvalidInputsException + - MDExpectedException interfacesImplementedByContainers: - Psr\Container\ContainerInterface classesAllowedToBeExtended: