Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

21
phpstan-rules.neon Normal file
View File

@@ -0,0 +1,21 @@
rules:
# Prefer Value Objects over arrays for domain concepts
- App\Framework\Quality\PHPStan\Rules\PreferValueObjectsRule
# Use framework abstractions instead of direct PHP classes
- App\Framework\Quality\PHPStan\Rules\UseFrameworkAbstractionsRule
# Forbidden PHP functions - enforce framework abstractions
- App\Framework\Quality\PHPStan\Rules\ForbiddenFunctionsRule
# Time handling abstractions
- App\Framework\Quality\PHPStan\Rules\UseClockAbstractionRule
- App\Framework\Quality\PHPStan\Rules\UseTimerAbstractionRule
- App\Framework\Quality\PHPStan\Rules\UseDateTimeAbstractionRule
parameters:
# Type aliases for better documentation
typeAliases:
AnalyticsData: 'array<string, mixed>'
MetricsData: 'array<string, int|float>'
BreakdownData: 'array<string, int>'