2025-03-29 15:57:07 +00:00
|
|
|
includes:
|
2025-03-30 00:36:02 +00:00
|
|
|
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
|
2025-12-03 13:39:39 +00:00
|
|
|
- vendor/phpstan/phpstan-strict-rules/rules.neon
|
|
|
|
|
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
2025-03-29 15:57:07 +00:00
|
|
|
- vendor/larastan/larastan/extension.neon
|
|
|
|
|
- vendor/nesbot/carbon/extension.neon
|
|
|
|
|
|
|
|
|
|
parameters:
|
2025-03-30 00:36:02 +00:00
|
|
|
level: max
|
2025-12-03 13:39:39 +00:00
|
|
|
|
|
|
|
|
# Additional Core PHPStan Rules
|
2025-03-30 00:36:02 +00:00
|
|
|
checkTooWideReturnTypesInProtectedAndPublicMethods: true
|
|
|
|
|
checkBenevolentUnionTypes: true
|
|
|
|
|
reportPossiblyNonexistentGeneralArrayOffset: true
|
|
|
|
|
reportPossiblyNonexistentConstantArrayOffset: true
|
|
|
|
|
reportAnyTypeWideningInVarTag: true
|
2025-12-03 13:39:39 +00:00
|
|
|
checkMissingCallableSignature: true
|
2025-03-30 00:36:02 +00:00
|
|
|
tipsOfTheDay: false
|
2025-12-03 13:39:39 +00:00
|
|
|
|
|
|
|
|
# Additional Larastan Rules
|
2026-02-23 23:30:28 +00:00
|
|
|
enableMigrationCache: true
|
2025-12-03 13:39:39 +00:00
|
|
|
noUnnecessaryEnumerableToArrayCalls: true
|
|
|
|
|
checkModelProperties: true
|
2026-02-23 23:30:28 +00:00
|
|
|
parseModelCastsMethod: true
|
2025-12-03 13:39:39 +00:00
|
|
|
checkOctaneCompatibility: true
|
|
|
|
|
checkModelMethodVisibility: true
|
|
|
|
|
checkAuthCallsWhenInRequestScope: true
|
|
|
|
|
checkConfigTypes: true
|
|
|
|
|
|
2025-03-30 00:36:02 +00:00
|
|
|
tmpDir: ./storage/phpstan
|
2025-03-29 15:57:07 +00:00
|
|
|
paths:
|
|
|
|
|
- app
|
|
|
|
|
- bootstrap
|
|
|
|
|
- config
|
|
|
|
|
- database
|
2025-03-30 00:36:02 +00:00
|
|
|
- public
|
2025-03-29 15:57:07 +00:00
|
|
|
- resources
|
|
|
|
|
- routes
|
2025-03-30 00:36:02 +00:00
|
|
|
excludePaths:
|
|
|
|
|
- bootstrap/cache
|
|
|
|
|
strictRules:
|
|
|
|
|
strictArrayFilter: false
|
|
|
|
|
ignoreErrors:
|
2025-12-03 13:39:39 +00:00
|
|
|
# - '#Dynamic call to static method Illuminate\\Http\\Request::validate\(\)#'
|