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:
|
|
|
|
- '#is not allowed to extend#'
|
|
|
|
- '#is neither abstract nor final#'
|
2020-08-01 10:51:52 -05:00
|
|
|
- '#Control structures using switch should not be used\.#'
|
2020-09-18 05:16:47 -05:00
|
|
|
- '#has a nullable return type declaration#'
|
2021-04-06 10:00:00 -05:00
|
|
|
- '#with a nullable type declaration#'
|
|
|
|
- '#with null as default value#'
|
|
|
|
- '#Constructor in [a-zA-Z0-9\\_]+ has parameter \$[a-zA-Z0-9\\_]+ with default value#'
|
|
|
|
-
|
|
|
|
message: '#Function compact\(\) should not be used.#'
|
|
|
|
paths:
|
2021-04-07 00:53:05 -05:00
|
|
|
- ../app/Http/Controllers
|
2021-04-06 10:00:00 -05:00
|
|
|
- ../app/Support/Http/Controllers/RenderPartialViews.php
|
|
|
|
- ../app/Support/Form/FormSupport.php
|
|
|
|
- ../app/Support/Form/CurrencyForm.php
|
|
|
|
- ../app/Support/Form/AccountForm.php
|
|
|
|
- ../app/Support/ExpandedForm.php
|
2021-04-07 00:53:05 -05:00
|
|
|
- ../app/Generator/Report
|
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
|
2021-04-26 23:45:11 -05:00
|
|
|
level: 3
|