includes: - ../vendor/nunomaduro/larastan/extension.neon - ../vendor/ergebnis/phpstan-rules/rules.neon - ../vendor/phpstan/phpstan-deprecation-rules/rules.neon - ../vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon parameters: ignoreErrors: - '#is not allowed to extend#' - '#is neither abstract nor final#' - '#has a nullable return type declaration#' - '#with a nullable type declaration#' - '#with null as default value#' - '#is not covariant with PHPDoc type array#' - message: '#but containers should not be injected#' paths: - ../app/Support/Authentication/RemoteUserGuard.php - message: '#Control structures using switch should not be used.#' paths: - ../app/Api/V1/Controllers/Data/DestroyController.php - ../app/Console/Commands/Correction/FixAccountTypes.php - ../app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php - ../app/Exceptions/GracefulNotFoundHandler.php - ../app/Generator/Webhook/StandardMessageGenerator.php - ../app/Support/Amount.php - ../app/Support/Navigation.php - ../app/Support/ParseDateString.php - ../app/Support/Search/AccountSearch.php - ../app/Support/Search/OperatorQuerySearch.php - ../app/Support/Twig/General.php - ../app/Transformers/RecurrenceTransformer.php - ../app/Validation/AccountValidator.php - ../app/Validation/RecurrenceValidation.php - ../app/Validation/TransactionValidation.php - message: '#Function compact\(\) should not be used#' paths: - ../app/Generator/Report/Account/MonthReportGenerator.php - ../app/Generator/Report/Audit/MonthReportGenerator.php - ../app/Generator/Report/Budget/MonthReportGenerator.php - ../app/Generator/Report/Category/MonthReportGenerator.php - ../app/Generator/Report/Standard/MonthReportGenerator.php - ../app/Generator/Report/Standard/MultiYearReportGenerator.php - ../app/Generator/Report/Standard/YearReportGenerator.php - ../app/Generator/Report/Tag/MonthReportGenerator.php - ../app/Http/Controllers/Account/*.php - ../app/Http/Controllers/Admin/*.php - ../app/Http/Controllers/*.php - ../app/Support/ExpandedForm.php - ../app/Support/Form/AccountForm.php - ../app/Support/Form/CurrencyForm.php - ../app/Support/Form/FormSupport.php - message: '#Either catch a more specific exception#' paths: - ../app/Support/Form/FormSupport.php paths: - ../app - ../database - ../routes - ../config - ../bootstrap/app.php # The level 8 is the highest level. original was 5 level: 4