1
0
mirror of https://github.com/bitwarden/server synced 2025-12-24 04:03:25 +00:00

Add #nullable disable to billing code (#6054)

This commit is contained in:
Justin Baur
2025-07-08 11:46:24 -04:00
committed by GitHub
parent 50461518e7
commit 85b2a5bd94
101 changed files with 401 additions and 101 deletions

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using Bit.Core.Billing.Providers.Entities;
using CsvHelper.Configuration.Attributes;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using Bit.Commercial.Core.Billing.Providers.Models;
using Bit.Core;
using Bit.Core.AdminConsole.Entities;

View File

@@ -1,4 +1,7 @@
using System.Text.Json;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json;
using Bit.Admin.Billing.Models.ProcessStripeEvents;
using Bit.Core.Settings;
using Bit.Core.Utilities;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Admin.Billing.Models;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Bit.Admin.Billing.Models.ProcessStripeEvents;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Admin.Billing.Models.ProcessStripeEvents;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Admin.Billing.Models.ProcessStripeEvents;

View File

@@ -1,4 +1,7 @@
using System.Text;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text;
using System.Text.Json;
using Bit.Admin.Enums;
using Bit.Admin.Models;

View File

@@ -8,7 +8,7 @@
@if(!string.IsNullOrWhiteSpace(Model.TransactionId))
{
<div class="alert alert-success" role="alert">
<p>Charged customer "@Model.Id" for @Model.Amount.Value.ToString("C").</p>
<p>Charged customer "@Model.Id" for @Model.Amount!.Value.ToString("C").</p>
<strong>btTransactionId:</strong> @Model.TransactionId<br />
<strong>btPayPalTransactionId:</strong> @Model.PayPalTransactionId
</div>

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities.Provider;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.AdminConsole.Repositories;
using Bit.Core.Billing.Extensions;
using Bit.Core.Context;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Billing.Tax.Requests;
using Bit.Core.Context;
using Bit.Core.Repositories;

View File

@@ -1,4 +1,7 @@
using Bit.Api.Models.Request.Organizations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Api.Models.Request.Organizations;
using Bit.Api.Models.Response;
using Bit.Api.Models.Response.Organizations;
using Bit.Core.AdminConsole.Enums;

View File

@@ -1,4 +1,7 @@
using Bit.Api.AdminConsole.Models.Request.Organizations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Api.AdminConsole.Models.Request.Organizations;
using Bit.Api.AdminConsole.Models.Response;
using Bit.Api.AdminConsole.Models.Response.Organizations;
using Bit.Api.Models.Request;

View File

@@ -1,4 +1,7 @@
using Bit.Api.Billing.Models.Requests;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Api.Billing.Models.Requests;
using Bit.Api.Billing.Models.Responses;
using Bit.Commercial.Core.Billing.Providers.Services;
using Bit.Core;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Billing.Enums;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using Bit.Core.Billing.Tax.Models;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Billing.Models;
using Bit.Core.Enums;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Models.Requests;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Models;
using Bit.Core.Enums;
using Bit.Core.Models.Api;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Models;
using Bit.Core.Models.Api;
namespace Bit.Api.Billing.Models.Responses;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Models;
using Bit.Core.Enums;
using Bit.Core.Models.Api;

View File

@@ -1,4 +1,7 @@
using System.Net;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Net;
using Bit.Api.Billing.Public.Models;
using Bit.Api.Models.Public.Response;
using Bit.Core.Billing.Pricing;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Models.Business;
using Bit.Core.Models.StaticStore;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Billing.Public.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Api.AdminConsole.Models.Response.Organizations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Api.AdminConsole.Models.Response.Organizations;
using Bit.Api.Models.Request;
using Bit.Api.Models.Request.Organizations;
using Bit.Api.Utilities;

View File

@@ -1,4 +1,7 @@
namespace Bit.Billing;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Billing;
public class BillingSettings
{

View File

@@ -1,4 +1,7 @@
using System.Text;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text;
using System.Text.Json;
using Bit.Core.Utilities;
using Microsoft.AspNetCore.Mvc;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using Bit.Billing.Constants;
using Bit.Billing.Models;
using Bit.Core.AdminConsole.Repositories;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;

View File

@@ -1,4 +1,7 @@
using System.Net.Http.Headers;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Net.Http.Headers;
using System.Text.Json.Serialization;
using Bit.Core.Billing.Enums;
using Bit.Core.Repositories;

View File

@@ -1,4 +1,7 @@
using System.Text;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text;
using Bit.Billing.Models;
using Bit.Core.AdminConsole.Repositories;
using Bit.Core.Billing.Services;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Models.Recovery;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Models.Recovery;
using Bit.Billing.Services;
using Bit.Core.Utilities;
using Microsoft.AspNetCore.Http.HttpResults;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Models;
using Bit.Billing.Services;
using Bit.Core.Utilities;
using Microsoft.AspNetCore.Mvc;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Services;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Services;
using Bit.Core.Repositories;
using Quartz;
using Stripe;

View File

@@ -1,4 +1,7 @@
namespace Bit.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Billing.Models;
public class BitPayEventModel
{

View File

@@ -1,4 +1,7 @@
namespace Bit.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Billing.Models;
using System;
using System.Collections.Generic;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Billing.Models;

View File

@@ -1,4 +1,7 @@

// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using System.Runtime.InteropServices;
using System.Web;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models.Recovery;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models.Recovery;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;

View File

@@ -1,4 +1,7 @@
using Stripe;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Stripe;
namespace Bit.Billing.Services;

View File

@@ -1,4 +1,7 @@
using Stripe;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Stripe;
namespace Bit.Billing.Services;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Constants;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Constants;
using Bit.Core;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.AdminConsole.Repositories;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Constants;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Constants;
using Bit.Core.AdminConsole.Repositories;
using Bit.Core.Billing.Pricing;
using Bit.Core.Billing.Providers.Entities;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Constants;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Constants;
using Bit.Core.Settings;
using Stripe;

View File

@@ -1,4 +1,7 @@
using Bit.Billing.Constants;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Billing.Constants;
using Bit.Core.Enums;
using Bit.Core.Exceptions;
using Bit.Core.Repositories;

View File

@@ -1,4 +1,7 @@
using Stripe;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Stripe;
namespace Bit.Billing.Services.Implementations;

View File

@@ -1,4 +1,7 @@
using Bit.Core;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.AdminConsole.Repositories;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using System.Net.Http.Headers;
using Bit.Billing.Services;
using Bit.Billing.Services.Implementations;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Billing;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Billing;
public class BillingException(
string response = null,

View File

@@ -1,4 +1,7 @@
using Microsoft.Extensions.Caching.Distributed;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
namespace Bit.Core.Billing.Caches.Implementations;

View File

@@ -1,4 +1,7 @@
using System.Security.Claims;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Security.Claims;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Billing.Enums;
using Bit.Core.Models.Business;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using System.Security.Claims;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Billing.Enums;

View File

@@ -1,4 +1,7 @@
using System.Globalization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Globalization;
using System.Security.Claims;
using Bit.Core.Billing.Licenses.Models;
using Bit.Core.Entities;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Auth.Models.Api.Request.Accounts;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Auth.Models.Api.Request.Accounts;
using Bit.Core.Billing.Enums;
namespace Bit.Core.Billing.Models.Api.Requests.Accounts;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Entities;
using Bit.Core.Enums;
using Stripe;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Enums;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Enums;
using Stripe;
namespace Bit.Core.Billing.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Models.Business;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Models.Business;
using Stripe;
namespace Bit.Core.Billing.Models.Business;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Auth.Models.Mail;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Auth.Models.Mail;
using Bit.Core.Billing.Enums;
using Bit.Core.Enums;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Billing.Models;
public class OffboardingSurveyResponse
{

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Tax.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Tax.Models;
namespace Bit.Core.Billing.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Extensions;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Extensions;
using Bit.Core.Enums;
namespace Bit.Core.Billing.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Enums;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Enums;
namespace Bit.Core.Models.StaticStore;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Enums;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Enums;
using Bit.Core.Enums;
using Bit.Core.Models.Data.Organizations.OrganizationUsers;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Billing.Providers.Migration.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Billing.Providers.Migration.Models;
public enum ClientMigrationProgress
{

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Providers.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Providers.Entities;
namespace Bit.Core.Billing.Providers.Migration.Models;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Billing.Providers.Migration.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Billing.Providers.Migration.Models;
public enum ProviderMigrationProgress
{

View File

@@ -1,4 +1,7 @@
using System.Text.Json;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.Billing.Providers.Migration.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Billing.Constants;
using Bit.Core.Billing.Enums;
using Bit.Core.Billing.Pricing;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.AdminConsole.Repositories;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.Billing.Enums;
using Bit.Core.Billing.Models;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Models;
using Bit.Core.Billing.Tax.Models;
using Bit.Core.Entities;
using Bit.Core.Enums;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Caches;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Caches;
using Bit.Core.Billing.Constants;
using Bit.Core.Billing.Models;
using Bit.Core.Billing.Models.Sales;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.Billing.Caches;
using Bit.Core.Billing.Constants;

View File

@@ -1,4 +1,7 @@
using System.Text.RegularExpressions;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.RegularExpressions;
namespace Bit.Core.Billing.Tax.Models;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Core.Billing.Tax.Requests;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using Bit.Core.Billing.Enums;
using Bit.Core.Enums;

View File

@@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Core.Billing.Tax.Requests;

View File

@@ -1,4 +1,7 @@
using System.Text.RegularExpressions;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.RegularExpressions;
using Bit.Core.Billing.Tax.Models;
namespace Bit.Core.Billing.Tax.Services.Implementations;

View File

@@ -1,4 +1,7 @@
using Bit.Core.Billing.Models;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Models;
using Bit.Core.Billing.Tax.Models;
using Bit.Core.Services;
using Stripe;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Models.Api.OrganizationLicenses;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Models.Api.OrganizationLicenses;
public class SelfHostedOrganizationLicenseRequestModel
{

View File

@@ -1,4 +1,7 @@
using System.Reflection;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Reflection;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Models.Mail.Billing;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Models.Mail.Billing;
public class BusinessUnitConversionInviteModel : BaseMailModel
{

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Repositories;
using Bit.Core.Enums;
using Bit.Core.Exceptions;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Context;
using Bit.Core.Entities;
using Bit.Core.Exceptions;

View File

@@ -1,4 +1,7 @@
using System.Data;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Data;
using Bit.Core.Billing.Providers.Entities;
using Bit.Core.Billing.Providers.Repositories;
using Bit.Core.Settings;

View File

@@ -1,4 +1,7 @@
using System.Data;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Data;
using Bit.Core.Billing.Entities;
using Bit.Core.Billing.Repositories;
using Bit.Core.Settings;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
using Bit.Infrastructure.EntityFramework.Platform;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models.Provider;
namespace Bit.Infrastructure.EntityFramework.Billing.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models.Provider;
namespace Bit.Infrastructure.EntityFramework.Billing.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Core.Billing.Providers.Entities;
using Bit.Core.Billing.Providers.Repositories;
using Bit.Infrastructure.EntityFramework.Repositories;

Some files were not shown because too many files have changed in this diff Show More