style: пробел перед @mixin в шапках моделей — так их пишет форматтер
Правка целиком в комментариях: 37 файлов, ни строки кода. Её дописал сам pre-commit форматтер во время предыдущей записи и оставил неподтверждённой. Записываю, чтобы папка ветки не оставалась грязной. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
* (каст `array`). Без этой пометки статанализ читает тип из миграции и видит строку.
|
||||
*
|
||||
* @property array<int, string>|null $audience_statuses
|
||||
*
|
||||
* @mixin IdeHelperClientSmsCampaign
|
||||
*/
|
||||
class ClientSmsCampaign extends Model
|
||||
|
||||
@@ -23,6 +23,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $stuck_after_minutes
|
||||
* @property array<array-key, string>|null $allowed_operators
|
||||
* @property int $max_upload_phones
|
||||
*
|
||||
* @mixin IdeHelperClientSmsSettings
|
||||
*/
|
||||
class ClientSmsSettings extends Model
|
||||
|
||||
@@ -20,6 +20,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
* Источник: миграция client_tg_campaigns.
|
||||
*
|
||||
* @property array<array-key, mixed>|null $audience_params
|
||||
*
|
||||
* @mixin IdeHelperCampaign
|
||||
*/
|
||||
class Campaign extends Model
|
||||
|
||||
@@ -25,6 +25,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon $expires_at
|
||||
* @property Carbon|null $verified_at
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperEmailVerification
|
||||
*/
|
||||
class EmailVerification extends Model
|
||||
|
||||
@@ -33,6 +33,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon|null $second_approval_at
|
||||
* @property Carbon $created_at
|
||||
* @property string|null $session_token_hash
|
||||
*
|
||||
* @mixin IdeHelperImpersonationToken
|
||||
*/
|
||||
class ImpersonationToken extends Model
|
||||
|
||||
@@ -29,6 +29,7 @@ use Illuminate\Support\Facades\DB;
|
||||
* @property string $deadline_at
|
||||
* @property string|null $completed_at
|
||||
* @property bool $processing_restricted
|
||||
*
|
||||
* @mixin IdeHelperPdSubjectRequest
|
||||
*/
|
||||
class PdSubjectRequest extends Model
|
||||
|
||||
@@ -30,6 +30,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property int|null $approved_by
|
||||
* @property Carbon|null $approved_at
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSaasAdminAuditLog
|
||||
*/
|
||||
class SaasAdminAuditLog extends Model
|
||||
|
||||
@@ -37,6 +37,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon|null $expires_at
|
||||
* @property Carbon|null $paid_at
|
||||
* @property Carbon|null $cancelled_at
|
||||
*
|
||||
* @mixin IdeHelperSaasInvoice
|
||||
*/
|
||||
class SaasInvoice extends Model
|
||||
|
||||
@@ -20,6 +20,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property string|null $vat_rate
|
||||
* @property string|null $vat_amount
|
||||
* @property string $amount_total
|
||||
*
|
||||
* @mixin IdeHelperSaasInvoiceItem
|
||||
*/
|
||||
class SaasInvoiceItem extends Model
|
||||
|
||||
@@ -33,6 +33,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property string|null $pdf_path
|
||||
* @property string $status
|
||||
* @property Carbon|null $issued_at
|
||||
*
|
||||
* @mixin IdeHelperSaasUpdDocument
|
||||
*/
|
||||
class SaasUpdDocument extends Model
|
||||
|
||||
@@ -42,6 +42,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon $updated_at
|
||||
* @property-read Collection<int, SalesAdAudiencePhone> $phones
|
||||
* @property-read Collection<int, SalesAdAudienceFirmChannel> $firmChannels
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudienceFirm
|
||||
*/
|
||||
class SalesAdAudienceFirm extends Model
|
||||
|
||||
@@ -25,6 +25,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property int $warmed_times
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudienceFirmChannel
|
||||
*/
|
||||
class SalesAdAudienceFirmChannel extends Model
|
||||
|
||||
@@ -28,6 +28,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property Carbon|null $resume_at
|
||||
* @property string|null $operator
|
||||
* @property string|null $phone_type
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudiencePhone
|
||||
*/
|
||||
class SalesAdAudiencePhone extends Model
|
||||
|
||||
@@ -30,6 +30,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $registered_days
|
||||
* @property int $testing_days
|
||||
* @property int $days
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudiencePlatform
|
||||
*/
|
||||
class SalesAdAudiencePlatform extends Model
|
||||
|
||||
@@ -32,6 +32,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property Carbon|null $vk_last_synced_at
|
||||
* @property string|null $vk_last_error
|
||||
* @property string $vk_status
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudienceState
|
||||
*/
|
||||
class SalesAdAudienceState extends Model
|
||||
|
||||
@@ -21,6 +21,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon|null $ended_at
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*
|
||||
* @mixin IdeHelperSalesAdAudienceWarmingEpisode
|
||||
*/
|
||||
class SalesAdAudienceWarmingEpisode extends Model
|
||||
|
||||
@@ -30,6 +30,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property int|null $decided_by
|
||||
* @property Carbon|null $decided_at
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesAttachmentRequest
|
||||
*/
|
||||
class SalesAttachmentRequest extends Model
|
||||
|
||||
@@ -30,6 +30,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property array<string,mixed> $tariff_params
|
||||
* @property Carbon $assigned_at
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesClientAssignment
|
||||
*/
|
||||
class SalesClientAssignment extends Model
|
||||
|
||||
@@ -27,6 +27,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string|null $comment
|
||||
* @property int $created_by
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesPayout
|
||||
*/
|
||||
class SalesPayout extends Model
|
||||
|
||||
@@ -45,6 +45,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string|null $notes
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*
|
||||
* @mixin IdeHelperSalesProspect
|
||||
*/
|
||||
class SalesProspect extends Model
|
||||
|
||||
@@ -27,6 +27,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string|null $from_stage
|
||||
* @property string $to_stage
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesProspectMove
|
||||
*/
|
||||
class SalesProspectMove extends Model
|
||||
|
||||
@@ -24,6 +24,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string|null $title
|
||||
* @property string $body
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesProspectNote
|
||||
*/
|
||||
class SalesProspectNote extends Model
|
||||
|
||||
@@ -30,6 +30,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
* @property Carbon|null $started_at
|
||||
* @property Carbon|null $finished_at
|
||||
* @property string|null $last_error
|
||||
*
|
||||
* @mixin IdeHelperSalesSmsCampaign
|
||||
*/
|
||||
class SalesSmsCampaign extends Model
|
||||
|
||||
@@ -27,6 +27,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property Carbon|null $sent_at
|
||||
* @property Carbon|null $delivered_at
|
||||
* @property string|null $error
|
||||
*
|
||||
* @mixin IdeHelperSalesSmsMessage
|
||||
*/
|
||||
class SalesSmsMessage extends Model
|
||||
|
||||
@@ -16,6 +16,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property string $phone
|
||||
* @property string $reason
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSalesSmsOptout
|
||||
*/
|
||||
class SalesSmsOptout extends Model
|
||||
|
||||
@@ -23,6 +23,7 @@ use Illuminate\Support\Collection;
|
||||
* @property Carbon|null $submitted_at
|
||||
* @property Carbon|null $approved_at
|
||||
* @property string|null $rejected_reason
|
||||
*
|
||||
* @mixin IdeHelperSalesSmsSender
|
||||
*/
|
||||
class SalesSmsSender extends Model
|
||||
|
||||
@@ -26,6 +26,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
* @property string $kind
|
||||
* @property array<string,mixed> $params
|
||||
* @property bool $is_active
|
||||
*
|
||||
* @mixin IdeHelperSalesTariff
|
||||
*/
|
||||
class SalesTariff extends Model
|
||||
|
||||
@@ -34,6 +34,7 @@ use Laravel\Sanctum\HasApiTokens;
|
||||
* @property int|null $created_by
|
||||
* @property CarbonInterface $created_at
|
||||
* @property CarbonInterface|null $updated_at
|
||||
*
|
||||
* @mixin IdeHelperSalesUser
|
||||
*/
|
||||
class SalesUser extends Authenticatable
|
||||
|
||||
@@ -25,6 +25,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string|null $phone_operator
|
||||
* @property string|null $region_source
|
||||
* @property int|null $resolved_subject_code
|
||||
*
|
||||
* @mixin IdeHelperSupplierLead
|
||||
*/
|
||||
class SupplierLead extends Model
|
||||
|
||||
@@ -15,6 +15,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $tenant_id
|
||||
* @property int|null $deal_id
|
||||
* @property string $created_at
|
||||
*
|
||||
* @mixin IdeHelperSupplierLeadDelivery
|
||||
*/
|
||||
class SupplierLeadDelivery extends Model
|
||||
|
||||
@@ -25,6 +25,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property int|null $resolved_by_user_id
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $resolved_at
|
||||
*
|
||||
* @mixin IdeHelperSupplierManualSyncQueue
|
||||
*/
|
||||
class SupplierManualSyncQueue extends Model
|
||||
|
||||
@@ -17,6 +17,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property string $contact
|
||||
* @property string $message
|
||||
* @property Carbon $created_at
|
||||
*
|
||||
* @mixin IdeHelperSupportRequest
|
||||
*/
|
||||
class SupportRequest extends Model
|
||||
|
||||
@@ -18,6 +18,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property string|null $description
|
||||
* @property Carbon $updated_at
|
||||
* @property int|null $updated_by
|
||||
*
|
||||
* @mixin IdeHelperSystemSetting
|
||||
*/
|
||||
class SystemSetting extends Model
|
||||
|
||||
@@ -14,6 +14,7 @@ use Illuminate\Support\Carbon;
|
||||
* интроспекции (стаб IdeHelperTenantRequisites не генерируется), поэтому
|
||||
*
|
||||
* @property-аннотации заданы вручную по db/schema.sql (tenant_requisites).
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $tenant_id
|
||||
* @property string $subject_type
|
||||
@@ -33,6 +34,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property Carbon|null $requisites_completed_at
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
*
|
||||
* @mixin IdeHelperTenantRequisites
|
||||
*/
|
||||
class TenantRequisites extends Model
|
||||
|
||||
@@ -19,6 +19,7 @@ use Illuminate\Support\Carbon;
|
||||
* @property string $code_hash
|
||||
* @property Carbon|null $used_at
|
||||
* @property Carbon|null $created_at
|
||||
*
|
||||
* @mixin IdeHelperUserRecoveryCode
|
||||
*/
|
||||
class UserRecoveryCode extends Model
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
{
|
||||
"2026-05": {
|
||||
"WIN_USER_PATH": 123,
|
||||
"IPV4": 1,
|
||||
"RU_PHONE": 1
|
||||
},
|
||||
"2026-06": {
|
||||
"WIN_USER_PATH": 5
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user