New set of PHP 8.4 files

This commit is contained in:
James Cole
2024-11-26 18:04:32 +01:00
parent 64aefe5848
commit 4ba1c5bcfc
8 changed files with 137 additions and 131 deletions

View File

@@ -35,46 +35,46 @@ class AccountType extends Model
{
use ReturnsIntegerIdTrait;
/** @deprecated */
#[\Deprecated]
public const string ASSET = 'Asset account';
/** @deprecated */
#[\Deprecated]
public const string BENEFICIARY = 'Beneficiary account';
/** @deprecated */
#[\Deprecated]
public const string CASH = 'Cash account';
/** @deprecated */
#[\Deprecated]
public const string CREDITCARD = 'Credit card';
/** @deprecated */
#[\Deprecated]
public const string DEBT = 'Debt';
/** @deprecated */
#[\Deprecated]
public const string DEFAULT = 'Default account';
/** @deprecated */
#[\Deprecated]
public const string EXPENSE = 'Expense account';
/** @deprecated */
#[\Deprecated]
public const string IMPORT = 'Import account';
/** @deprecated */
#[\Deprecated]
public const string INITIAL_BALANCE = 'Initial balance account';
/** @deprecated */
#[\Deprecated]
public const string LIABILITY_CREDIT = 'Liability credit account';
/** @deprecated */
#[\Deprecated]
public const string LOAN = 'Loan';
/** @deprecated */
#[\Deprecated]
public const string MORTGAGE = 'Mortgage';
/** @deprecated */
#[\Deprecated]
public const string RECONCILIATION = 'Reconciliation account';
/** @deprecated */
#[\Deprecated]
public const string REVENUE = 'Revenue account';
protected $casts

View File

@@ -39,13 +39,13 @@ class AutoBudget extends Model
use ReturnsIntegerIdTrait;
use SoftDeletes;
/** @deprecated */
#[\Deprecated]
public const int AUTO_BUDGET_ADJUSTED = 3;
/** @deprecated */
#[\Deprecated]
public const int AUTO_BUDGET_RESET = 1;
/** @deprecated */
#[\Deprecated]
public const int AUTO_BUDGET_ROLLOVER = 2;
protected $fillable = ['budget_id', 'amount', 'period'];

View File

@@ -39,16 +39,16 @@ class RecurrenceRepetition extends Model
use ReturnsIntegerIdTrait;
use SoftDeletes;
/** @deprecated */
#[\Deprecated]
public const int WEEKEND_DO_NOTHING = 1;
/** @deprecated */
#[\Deprecated]
public const int WEEKEND_SKIP_CREATION = 2;
/** @deprecated */
#[\Deprecated]
public const int WEEKEND_TO_FRIDAY = 3;
/** @deprecated */
#[\Deprecated]
public const int WEEKEND_TO_MONDAY = 4;
protected $casts

View File

@@ -38,25 +38,25 @@ class TransactionType extends Model
use ReturnsIntegerIdTrait;
use SoftDeletes;
/** @deprecated */
#[\Deprecated]
public const string DEPOSIT = 'Deposit';
/** @deprecated */
#[\Deprecated]
public const string INVALID = 'Invalid';
/** @deprecated */
#[\Deprecated]
public const string LIABILITY_CREDIT = 'Liability credit';
/** @deprecated */
#[\Deprecated]
public const string OPENING_BALANCE = 'Opening balance';
/** @deprecated */
#[\Deprecated]
public const string RECONCILIATION = 'Reconciliation';
/** @deprecated */
#[\Deprecated]
public const string TRANSFER = 'Transfer';
/** @deprecated */
#[\Deprecated]
public const string WITHDRAWAL = 'Withdrawal';
protected $casts