diff --git a/app/deptrac.baseline.yaml b/app/deptrac.baseline.yaml index 891af24f..6dcafc04 100644 --- a/app/deptrac.baseline.yaml +++ b/app/deptrac.baseline.yaml @@ -3,3 +3,10 @@ deptrac: App\Http\Resources\ProjectResource: - App\Services\Project\ProjectRuleMessages - App\Services\Project\SupplierSnapshotGuard + # RunResource → AutopodborQueue: read-only UI-вычисление «место в очереди» + # (queue_position, только пока status=queued). Та же категория, что ProjectResource + # выше — Resource спрашивает сервис ради отображения, не управляет им (ADR-005). + # Долг пришёл с автоподбором (892ca060, 05.07.2026), код на бою; фиксируем, + # чтобы гейт снова ловил НОВЫЕ нарушения. + App\Http\Resources\Autopodbor\RunResource: + - App\Services\Autopodbor\AutopodborQueue diff --git a/app/phpstan-baseline.neon b/app/phpstan-baseline.neon index 205c4451..d6ce7f72 100644 --- a/app/phpstan-baseline.neon +++ b/app/phpstan-baseline.neon @@ -678,6 +678,18 @@ parameters: count: 1 path: app/Services/Bot/AnswerGuard.php + - + message: '#^Offset 1 on array\{list\, list\\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Services/Bot/AnswerGuard.php + + - + message: '#^Offset 1 on array\{list\, list\\} on left side of \?\? always exists and is not nullable\.$#' + identifier: nullCoalesce.offset + count: 1 + path: app/Services/Bot/AnswerGuard.php + - message: '#^Offset ''role'' on array\{role\: string, text\: string\} on left side of \?\? always exists and is not nullable\.$#' identifier: nullCoalesce.offset @@ -2184,6 +2196,12 @@ parameters: count: 2 path: tests/Feature/Billing/TopupFlagForkTest.php + - + message: '#^Call to an undefined method Pest\\PendingCalls\\TestCall\:\:artisan\(\)\.$#' + identifier: method.notFound + count: 2 + path: tests/Feature/Bot/BotRunQuestionsCommandTest.php + - message: '#^Call to an undefined method Pest\\PendingCalls\\TestCall\:\:getJson\(\)\.$#' identifier: method.notFound