Files
desk-moloni/phpstan.neon
Emanuel Almeida c19f6fd9ee fix(perfexcrm module): align version to 3.0.1, unify entrypoint, and harden routes/views
- Bump DESK_MOLONI version to 3.0.1 across module
- Normalize hooks to after_client_* and instantiate PerfexHooks safely
- Fix OAuthController view path and API client class name
- Add missing admin views for webhook config/logs; adjust view loading
- Harden client portal routes and admin routes mapping
- Make Dashboard/Logs/Queue tolerant to optional model methods
- Align log details query with existing schema; avoid broken joins

This makes the module operational in Perfex (admin + client), reduces 404s,
and avoids fatal errors due to inconsistent tables/methods.
2025-09-11 17:38:45 +01:00

30 lines
802 B
Plaintext

parameters:
level: 8
paths:
- libraries
- models
- controllers
- tests
excludePaths:
- tests/bootstrap.php
- vendor
ignoreErrors:
# Ignore Perfex CRM function stubs in tests
- '#Function get_option not found#'
- '#Function log_activity not found#'
- '#Function hooks not found#'
# Ignore test-specific dynamic properties
- '#Access to an undefined property DeskMoloni\\Tests\\TestHelpers::\$[a-zA-Z]+#'
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
# Custom rules for Desk-Moloni
reportUnmatchedIgnoredErrors: false
# Bootstrap for test environment
bootstrapFiles:
- tests/bootstrap.php