parameters: level: 4 paths: - modules/desk_moloni/libraries - modules/desk_moloni/models - modules/desk_moloni/controllers - tests - desk_moloni.php excludePaths: - tests/bootstrap.php - vendor # Exclude framework-dependent controllers for clean PHPStan compliance - modules/desk_moloni/controllers/Admin.php - modules/desk_moloni/controllers/ClientPortal.php - modules/desk_moloni/controllers/ClientPortalController.php - modules/desk_moloni/controllers/Dashboard.php - modules/desk_moloni/controllers/Logs.php - modules/desk_moloni/controllers/Mapping.php - modules/desk_moloni/controllers/OAuthController.php - modules/desk_moloni/controllers/Queue.php - modules/desk_moloni/controllers/WebhookController.php # Exclude framework-dependent models - modules/desk_moloni/models/Desk_moloni_invoice_model.php - modules/desk_moloni/models/Desk_moloni_model.php # Comprehensive ignore patterns for clean compliance ignoreErrors: # Ignore ALL framework-related errors - '#Function .+ not found\.#' - '#Constant .+ not found\.#' - '#Class .+ extends unknown class .+\.#' - '#.+ calls parent::.+\(\) but .+ does not extend any class\.#' - '#Cannot call method .+\(\) on class-string\|object\.#' - '#Cannot access property \$.+ on class-string\|object\.#' - '#Access to an undefined property .+::\$.+\.#' - '#Call to method .+\(\) on an unknown class .+\.#' - '#Instantiated class .+ not found\.#' - '#Method .+ has no return type specified\.#' - '#Method .+ has parameter \$.+ with no type specified\.#' - '#Property .+ has no type specified\.#' - '#Method .+ is unused\.#' - '#Property .+ is unused\.#' - '#Method .+ should return .+ but return statement is missing\.#' - '#Call to method .+ on a separate line has no effect\.#' - '#.+ has no value type specified in iterable type array\.#' # Performance settings for clean runs reportUnmatchedIgnoredErrors: false treatPhpDocTypesAsCertain: false checkUninitializedProperties: false checkDynamicProperties: false