Add cleaner list of classes allowed to be extended
This commit is contained in:
parent
a3734486eb
commit
744769e8bf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user