mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Deprecate constants
This commit is contained in:
@@ -39,8 +39,11 @@ class AutoBudget extends Model
|
|||||||
use ReturnsIntegerIdTrait;
|
use ReturnsIntegerIdTrait;
|
||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
public const int AUTO_BUDGET_ADJUSTED = 3;
|
public const int AUTO_BUDGET_ADJUSTED = 3;
|
||||||
|
/** @deprecated */
|
||||||
public const int AUTO_BUDGET_RESET = 1;
|
public const int AUTO_BUDGET_RESET = 1;
|
||||||
|
/** @deprecated */
|
||||||
public const int AUTO_BUDGET_ROLLOVER = 2;
|
public const int AUTO_BUDGET_ROLLOVER = 2;
|
||||||
protected $fillable = ['budget_id', 'amount', 'period'];
|
protected $fillable = ['budget_id', 'amount', 'period'];
|
||||||
|
|
||||||
|
@@ -38,9 +38,13 @@ class RecurrenceRepetition extends Model
|
|||||||
use ReturnsIntegerIdTrait;
|
use ReturnsIntegerIdTrait;
|
||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
public const int WEEKEND_DO_NOTHING = 1;
|
public const int WEEKEND_DO_NOTHING = 1;
|
||||||
|
/** @deprecated */
|
||||||
public const int WEEKEND_SKIP_CREATION = 2;
|
public const int WEEKEND_SKIP_CREATION = 2;
|
||||||
|
/** @deprecated */
|
||||||
public const int WEEKEND_TO_FRIDAY = 3;
|
public const int WEEKEND_TO_FRIDAY = 3;
|
||||||
|
/** @deprecated */
|
||||||
public const int WEEKEND_TO_MONDAY = 4;
|
public const int WEEKEND_TO_MONDAY = 4;
|
||||||
|
|
||||||
protected $casts
|
protected $casts
|
||||||
|
@@ -38,12 +38,19 @@ class TransactionType extends Model
|
|||||||
use ReturnsIntegerIdTrait;
|
use ReturnsIntegerIdTrait;
|
||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
public const string DEPOSIT = 'Deposit';
|
public const string DEPOSIT = 'Deposit';
|
||||||
|
/** @deprecated */
|
||||||
public const string INVALID = 'Invalid';
|
public const string INVALID = 'Invalid';
|
||||||
|
/** @deprecated */
|
||||||
public const string LIABILITY_CREDIT = 'Liability credit';
|
public const string LIABILITY_CREDIT = 'Liability credit';
|
||||||
|
/** @deprecated */
|
||||||
public const string OPENING_BALANCE = 'Opening balance';
|
public const string OPENING_BALANCE = 'Opening balance';
|
||||||
|
/** @deprecated */
|
||||||
public const string RECONCILIATION = 'Reconciliation';
|
public const string RECONCILIATION = 'Reconciliation';
|
||||||
|
/** @deprecated */
|
||||||
public const string TRANSFER = 'Transfer';
|
public const string TRANSFER = 'Transfer';
|
||||||
|
/** @deprecated */
|
||||||
public const string WITHDRAWAL = 'Withdrawal';
|
public const string WITHDRAWAL = 'Withdrawal';
|
||||||
|
|
||||||
protected $casts
|
protected $casts
|
||||||
|
Reference in New Issue
Block a user