2020-07-31 05:56:32 -05:00
|
|
|
includes:
|
2020-07-31 10:41:21 -05:00
|
|
|
- ../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
|
2020-07-31 05:56:32 -05:00
|
|
|
|
|
|
|
parameters:
|
2020-07-31 08:12:26 -05:00
|
|
|
ignoreErrors:
|
2022-10-30 08:34:36 -05:00
|
|
|
- '#is not allowed to extend#'
|
|
|
|
- '#is neither abstract nor final#'
|
|
|
|
- '#has a nullable return type declaration#'
|
|
|
|
- '#with a nullable type declaration#'
|
|
|
|
-
|
|
|
|
message: '#Control structures using switch should not be used.#'
|
2022-10-30 23:39:22 -05:00
|
|
|
paths:
|
|
|
|
- ../app/Api/V1/Controllers/Data/DestroyController.php
|
|
|
|
- ../app/Console/Commands/Correction/FixAccountTypes.php
|
2022-10-30 23:50:44 -05:00
|
|
|
- ../app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php
|
2022-11-02 00:25:37 -05:00
|
|
|
- ../app/Exceptions/GracefulNotFoundHandler.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
|
2022-10-30 23:39:22 -05:00
|
|
|
|
2020-07-31 05:56:32 -05:00
|
|
|
paths:
|
|
|
|
- ../app
|
|
|
|
- ../database
|
|
|
|
- ../routes
|
|
|
|
- ../bootstrap/app.php
|
|
|
|
|
2020-07-31 08:12:26 -05:00
|
|
|
# The level 8 is the highest level. original was 5
|
2022-10-30 23:50:44 -05:00
|
|
|
level: 1
|